ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.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.

In This Topic
    GetSourceAttributeValues Method
    In This Topic
    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

    ArcGIS Pro version: 3.0 or higher.
    See Also