ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / AttributedRelationshipClassDefinition Class / GetDestinationForeignKeyField Method

GetDestinationForeignKeyField Method
Gets the name of the destination foreign key field. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetDestinationForeignKeyField()

Return Value

The name of the destination foreign key field.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also