ArcGIS Pro 2.7 API Reference Guide
GetTable Method (UtilityNetwork)

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetwork Class : GetTable Method
The NetworkSource object to use to return a ArcGIS.Core.Data.Table.
Returns the ArcGIS.Core.Data.Table that corresponds to a NetworkSource. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public Table GetTable( 
   NetworkSource networkSource
)
Public Function GetTable( _
   ByVal networkSource As NetworkSource _
) As Table

Parameters

networkSource
The NetworkSource object to use to return a ArcGIS.Core.Data.Table.

Return Value

A ArcGIS.Core.Data.Table that corresponds to the input NetworkSource.
Exceptions
ExceptionDescription
networkSource is null.
A geodatabase-related exception has occurred.
Remarks
This routine is often used in conjunction with Element.NetworkSource to fetch ArcGIS.Core.Data.Row objects from Element objects.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UtilityNetwork Class
UtilityNetwork Members