ArcObjects Library Reference (GeoDatabase)  

INetworkWorkspace Interface

Provides access to members that create and maintain information about logical networks. Note: the INetworkWorkspace interface has been superseded byINetworkWorkspace2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the INetworkWorkspace interface to open and create a logical network that does not have an associated geometric network.

Members

Description
Method CreateNetwork Creates a logical network.
Method GetNetworkNames Returns an enumeration of the names of the logical networks within the current workspace.
Method OpenNetwork Opens a logical network.

CoClasses that implement INetworkWorkspace

CoClasses and Classes Description
NetworkWorkspace A container for creating and maintaining information about the logical networks in this workspace.
Sde4Workspace (esriDataSourcesGDB) ESRI SDE (4.x) Feature Database.

Remarks

The INetworkWorkspace interface is used for creating and opening a logical network that does not have a corresponding geometric network.  This may be necessary to model relationships that do not have a spatial representation.  To create a geometric network from existing feature classes use the INetworkLoader interface on the NetworkLoader object.

See Also

INetworkWorkspace Interface | IGraph.VertexBasedStretching Property | INetwork Interface | IUtilityNetwork Interface | INetworkUpdate Interface | IForwardStar Interface | INetworkClass.FieldToWeightMapping Property | INetworkClass.GeometricNetwork Property | INetworkClass.NetworkAncillaryRole Property