ArcGIS Pro 2.7 API Reference Guide
GetDefinition Method (Table)

ArcGIS.Core.Data Namespace > Table Class : GetDefinition Method
Gets the TableDefinition of this dataset. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public new TableDefinition GetDefinition()
Public Shadows Function GetDefinition() As TableDefinition

Return Value

The TableDefinition of this dataset.
Exceptions
ExceptionDescription
This dataset does not have a valid definition.
A geodatabase-related exception has occurred.
Remarks
This routine will throw an exception if called on a joined table, since there is no underlying datastore for these temporary datasets. IsJoinedTable can be used to determine if this table represents a join.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Table Class
Table Members