ArcObjects Library Reference (GeoDatabase)  

INetworkDataset.State Property

Indicates whether the network dataset is built or not.

[Visual Basic .NET]
Public ReadOnly Property State As esriNetworkDatasetState
[C#]
public esriNetworkDatasetState State {get;}
[C++]
HRESULT get_State(
  esriNetworkDatasetState* State
);
[C++]

Parameters

State [out, retval]

  State is a parameter of type esriNetworkDatasetState

Product Availability

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

Remarks

The State property indicates the current status of the network dataset; whether the network dataset is unbuilt, built or empty.  Network analysis may be performed on unbuilt network datasets, but the results cannot be guaranteed to be correct and will depend on the edits that have been made.

For network datasets in an ArcSDE geodatabase, the State property will return the error "Object does not support this action."

See Also

INetworkDataset Interface