ArcGIS Pro 2.9 API Reference Guide
GetSchemaVersion Method (UtilityNetworkDefinition)

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetworkDefinition Class : GetSchemaVersion Method
Gets the version number of the utility network schema. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetSchemaVersion()
Public Function GetSchemaVersion() As String

Return Value

A string representation of the version of the utility network schema.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Remarks
This is the version number shown in the network properties of a utility network layer. Negative numbers indicate pre-release builds.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

UtilityNetworkDefinition Class
UtilityNetworkDefinition Members