ArcGIS Pro 2.9 API Reference Guide
GetSourceAttributeValues Method

ArcGIS.Core.Data.UtilityNetwork.NetworkDiagrams Namespace > NetworkDiagram Class : GetSourceAttributeValues Method
Name or alias name of the source table.
Array of names or alias names of the attributes to query.
Indicates whether to use coded value names when returning attributes of associated source objects.
Returns diagram features source attribute values as a JSON string. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetSourceAttributeValues( 
   string sourceName,
   string[] attributeNames,
   bool useCodedValueNames
)
Public Function GetSourceAttributeValues( _
   ByVal sourceName As String, _
   ByVal attributeNames() As String, _
   ByVal useCodedValueNames As Boolean _
) As String

Parameters

sourceName
Name or alias name of the source table.
attributeNames
Array of names or alias names of the attributes to query.
useCodedValueNames
Indicates whether to use coded value names when returning attributes of associated source objects.

Return Value

The JSON string containing the attributes values.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
This JSON string can be used to transfer data into external systems, such as network calculation or analysis software.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

NetworkDiagram Class
NetworkDiagram Members