Property UtilityNetwork
UtilityNetwork
Gets the UtilityNetwork managed by the feature service.
Declaration
public UtilityNetwork? UtilityNetwork { get; }
Property Value
| Type | Description |
|---|---|
| UtilityNetwork | The UtilityNetwork managed by the feature service. |
Remarks
This property is null unless the feature service contains a utility network and this
ServiceGeodatabase has been used to create a UtilityNetwork. When loading a map, the
UtilityNetwork is created and linked automatically as part of the map load. When a
ServiceGeodatabase is created outside of a map, use
UtilityNetwork(ServiceGeodatabase) to create and link the utility network explicitly.
The service geodatabase manages the utility network's service connection and branch version but does not
keep the utility network alive. This property is null when the map or app no longer holds the utility
network. A null value does not indicate whether the feature service contains a utility network.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300.2 |
| .NET Windows | 300.2 |
| .NET Android | 300.2 |
| .NET iOS | 300.2 |