ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / Differences Method / Differences(Table,DifferenceType,QueryFilter) 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.
This argument is optional. If unset or set to null, a default query filter will be used, which will cause all difference rows to be returned.

In This Topic
    Differences(Table,DifferenceType,QueryFilter) 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
    Public Overloads Function Differences( _
       ByVal targetTable As Table, _
       ByVal differenceType As DifferenceType, _
       Optional ByVal queryFilter As QueryFilter _
    ) As DifferenceCursor

    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
    This argument is optional. If unset or set to null, a default query filter will be used, which will cause all difference rows to be returned.

    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.

    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also