Property UtilityNetworkSyncMode
UtilityNetworkSyncMode
Gets or sets a value that specifies the generation and synchronization mode of Utility Network data from the service to an offline geodatabase.
Declaration
public UtilityNetworkSyncMode UtilityNetworkSyncMode { get; set; }
Property Value
Type | Description |
---|---|
UtilityNetworkSyncMode | The generation and synchronization mode of Utility Network data from the service to an offline geodatabase. |
Remarks
Feature layers and tables are always included in the generation and synchronization of the geodatabase. Utility Network System data can be optionally included.
When this property is set to something other than None, the schema of all data layers and tables in the feature service is required to support querying associations or tracing offline.
You can filter feature data using LayerOptions by:
- setting QueryOption to None
- specifying a WhereClause
-
setting UseGeometry to
true
Excluding data layers or including system layers of the feature service in the LayerOptions will result in an error in the GenerateGeodatabaseJob.
Use SyncCapabilities to check which synchronization mode the feature service supports.
If SupportsUtilityNetworkSystem is true
,
SyncSystemTables may be used. If
SupportsUtilityNetworkTopology is also true
,
SyncSystemAndTopologyTables may be used.
Setting this property to something other than None allows offline
Setting this property to SupportsUtilityNetworkTopology also enables offline tracing.
When a replica is created with tracing support from an ArcGIS Enterprise 11.2 or earlier feature service, the SyncModel must be None. As of ArcGIS Enterprise 11.3, feature services configured with edit capabilities will support Geodatabase.
Utility network sync mode (UtilityNetworkSyncMode) | Required sync capabilities (SyncCapabilities) | Enables utility network capabilities ( |
---|---|---|
None | No sync capability required | No utility network capability enabled |
SyncSystemTables | SupportsUtilityNetworkSystem | |
SyncSystemAndTopologyTables | SupportsUtilityNetworkSystem |
The default value is None. Utility Network System data will not be included.
This property can be used at the same time as specifying other additional data types to be included.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 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.11 - 200.6 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.6 |