This document is archived and information here might be outdated.  Recommended version.

INetworkWorkspace2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkWorkspace2 Interface
ArcGIS Developer Help

INetworkWorkspace2 Interface

Provides access to members that create and maintain information about logical networks.

Product Availability

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

When To Use

Use the INetworkWorkspace2 interface when you want to create a logical network that is not associated with a geometric network.  This interface differs from INetworkWorkspace in that the CreateNetwork method allows for the entry of a configuration keyword.  The keyword is used by ArcSDE to determine what set of parameters from the dbtune file to employ.


Name Description
Method CreateNetwork Creates a logical network.
Method CreateNetworkEx Creates a logical network based on the specified configuration keyword.
Read-only property FormatNumber The specified format number.
Read-only property FormatNumberCount The count of valid format numbers.
Method GetMaxStorableClassID Returns the maximum storable feature class ID for the given format number.
Method GetNetworkNames Returns an enumeration of the names of the logical networks within the current workspace.
Method OpenNetwork Opens a logical network.

Inherited Interfaces

Interfaces Description
INetworkWorkspace Provides access to members that create and maintain information about logical networks.

Classes that implement INetworkWorkspace2

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.