ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / PathTracer Class / Trace Method / Trace(TraceArgument) Method
The input arguments to the trace.

In This Topic
    Trace(TraceArgument) Method
    In This Topic
    Executes a path trace.
    Syntax
    Public Overloads Overrides NotOverridable Function Trace( _
       ByVal traceArgument As TraceArgument _
    ) As IReadOnlyList(Of Result)

    Parameters

    traceArgument
    The input arguments to the trace.

    Return Value

    A IReadOnlyList of concrete Result whose type corresponds to ResultType set in TraceArgument.ResultTypes.
    Exceptions
    ExceptionDescription
    traceArgument is null.
    traceArgument is constructed using TraceArgument.TraceArgument Constructor(Subnetwork).

    This operation is not supported in client-server mode.

    -or-

    traceArgument contains unsupported result types.

    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also