Skip to content

ISIAPINetworkSites Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 45ACCED4-517A-4F53-A2FA-43BB38839E88

Declaration

[Guid("45ACCED4-517A-4F53-A2FA-43BB38839E88")]
public interface ISIAPINetworkSites

Get an instance

// Navigate to the ISIAPINetworkSites you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var networkSites = /* ... */;
' Navigate to the ISIAPINetworkSites you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim networkSites As ISIAPINetworkSites = Nothing
# Navigate to the ISIAPINetworkSites you need via the ISIAPI tree.
# See ISIAPI for the activation root.
networkSites = ...
# Navigate to the ISIAPINetworkSites you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$networkSites = $null

Properties

Count

int Count { get; }

Type int

Code samples
int count = networkSites.Count;
Dim count As Integer = networkSites.Count
count = networkSites.Count
$count = $networkSites.Count

this[]

ISIAPINetworkSite this[] { get; }

Type ISIAPINetworkSite

Code samples
var this[] = networkSites.this[];
Dim this[] As ISIAPINetworkSite = networkSites.this[]
this[] = networkSites.this[]
$this[] = $networkSites.this[]

this[]

ISIAPINetworkSite this[] { get; }

Type ISIAPINetworkSite

Code samples
var this[] = networkSites.this[];
Dim this[] As ISIAPINetworkSite = networkSites.this[]
this[] = networkSites.this[]
$this[] = $networkSites.this[]

Methods

NetworkSiteExists(string)

Queries whether a particular Network Site exists in the collection

bool NetworkSiteExists(string sitename)

Parameters

Name Type Description
sitename string Site name to query

Returns bool - True, if a Network Site with the given Site name exists in the collection. False otherwise

Code samples
bool result = networkSites.NetworkSiteExists(@"Main Intersection");
Dim result As Boolean = networkSites.NetworkSiteExists("Main Intersection")
result = networkSites.NetworkSiteExists(r"Main Intersection")
$result = $networkSites.NetworkSiteExists("Main Intersection")