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

HasGlobalID Method
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()

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

ArcGIS Pro version: 2.0 or higher.
See Also