ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / Differences Method / Differences(Table,DifferenceType,QueryFilter,ServiceSynchronizationType) Method
The difference table that this source table uses to retrieve rows that are different based on the specified differenceType.
Indicates which type of difference to return.
If set to null, a default query filter will be used, which will cause all difference rows to be returned.
Indicates whether or not to run this operation synchronously.

In This Topic
    Differences(Table,DifferenceType,QueryFilter,ServiceSynchronizationType) Method
    In This Topic
    Gets a DifferenceCursor that can be used to retrieve rows based on the specified differenceType. Differences can be obtained for transactional, multi-branch or historical versions. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    targetTable
    The difference table that this source table uses to retrieve rows that are different based on the specified differenceType.
    differenceType
    Indicates which type of difference to return.
    queryFilter
    If set to null, a default query filter will be used, which will cause all difference rows to be returned.
    serviceSynchronizationType
    Indicates whether or not to run this operation synchronously.

    Return Value

    An instance of DifferenceCursor.
    Exceptions
    ExceptionDescription
    targetTable is null.

    targetTable is not from an enterprise geodatabase.

    -or-

    This table/feature class is virtual in nature, e.g., a joined table.

    -or-

    Multi-branch versioning does not support DifferenceType.UpdateUpdate, DifferenceType.UpdateDelete and DifferenceType.DeleteUpdate as the differenceType for this operation.

    -or-

    Multi-branch versioning requires the source table to be from a child branch and not DEFAULT.

    -or-

    Multi-branch versioning does not allow this operation to execute in client-server mode.

    serviceSynchronizationType is invalid.
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also