Property ServiceGeodatabase
ServiceGeodatabase
Gets the ServiceGeodatabase of the UtilityNetwork.
Declaration
public ServiceGeodatabase ServiceGeodatabase { get; }
Property Value
Type | Description |
---|---|
ServiceGeodatabase | The ServiceGeodatabase of the UtilityNetwork. |
Remarks
The ServiceGeodatabase used by the ServiceFeatureTable in NetworkSources.
Use this property to switch to a branch version, manage edits, or query related records of tables participating in this UtilityNetwork.
This property is null
until the UtilityNetwork is loaded. The Map that was used to create this UtilityNetwork
provides this ServiceGeodatabase. When no matching ServiceGeodatabase is found in the Map, this UtilityNetwork
will create and load a ServiceGeodatabase connected to the default version in Transient mode.
This property is also null
when the UtilityNetwork is retrieved from Geodatabase.
Note that calling CloseAsync() on a ServiceGeodatabase that is used by a UtilityNetwork will render this UtilityNetwork unusable. An attempt to create an element, get associations, get features from elements, or perform a trace after this ServiceGeodatabase is closed will fail with GeodatabaseClosedException.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |