getState

Returns an UtilityNetworkState that represents the current state of the utility network. This state is unavailable if the utility network does not support the network state.

Return

A Result that returns an UtilityNetworkState.

Since

200.3.0

See also

Throws

ArcGISException

Throws an ArcGISException error if the Geodatabase is closed.

Throws an IllegalStateException error if the utility network does not support the network state. This is determined by the boolean value UtilityNetworkCapabilities.supportsNetworkState.