ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / TableDefinition Class / HasGlobalID Method

In This Topic
    HasGlobalID Method
    In This Topic
    Gets a value indicating whether this table has a field containing GlobalIDs. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public bool HasGlobalID()
    Public Function HasGlobalID() As Boolean

    Return Value

    true if this table has a field containing GlobalIDs; otherwise, false.
    Exceptions
    ExceptionDescription
    The definition does not support this operation (e.g., the table is a shapefile).
    A geodatabase-related exception has occurred.
    Remarks
    A global ID is required to uniquely identify a row between tables. Workflows such as replication require that global IDs are present.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also