ArcGIS Pro 2.7 API Reference Guide
GetOriginKeyField Method

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

Return Value

The name of the origin (primary) 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