ArcGIS Pro 2.8 API Reference Guide
GetOriginForeignKeyField Method

ArcGIS.Core.Data Namespace > RelationshipClassDefinition Class : GetOriginForeignKeyField Method
Gets the name of the origin foreign key field. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetOriginForeignKeyField()
Public Function GetOriginForeignKeyField() As String

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RelationshipClassDefinition Class
RelationshipClassDefinition Members