ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetwork Class / TraverseAssociations Method
The elements to begin the traversal.
The type of traversal to run.

In This Topic
    TraverseAssociations Method
    In This Topic
    Provides a mechanism to return all TraverseAssociationsResult objects beginning at a list of starting elements and following a specified traversal.
    Syntax

    Parameters

    startElements
    The elements to begin the traversal.
    traverseAssociationsDescription
    The type of traversal to run.

    Return Value

    A single TraverseAssociationsResult containing the Associations and desired field values.
    Exceptions
    ExceptionDescription
    startElements is empty.
    startElements or traverseAssociationsDescription is null.
    ArcGIS Enterprise versions 10.8.1 or lower do not support the traverse associations operation.
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also