ArcGIS Pro 2.8 API Reference Guide
HasGlobalID Method

ArcGIS.Core.Data Namespace > TableDefinition Class : 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()
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 10, Windows 8.1

See Also

Reference

TableDefinition Class
TableDefinition Members