ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / PathTracer Class / Trace Method / Trace(TraceArgument,ServiceSynchronizationType) Method
The input arguments to the trace.
Specifies which implementation of the service endpoint to call. This parameter is ignored for non-services based utility networks.

In This Topic
    Trace(TraceArgument,ServiceSynchronizationType) Method
    In This Topic
    Executes a path trace.
    Syntax

    Parameters

    traceArgument
    The input arguments to the trace.
    serviceSynchronizationType
    Specifies which implementation of the service endpoint to call. This parameter is ignored for non-services based utility networks.

    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