This document is archived and information here might be outdated.  Recommended version.

esriRelKeyRole Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > E > esriRelKeyRole Constants
ArcGIS Developer Help

esriRelKeyRole Constants

Key role in the multi-set Relationship Class

Constant Value Description
esriRelKeyRoleOriginPrimary 0 Origin Primary Key.
esriRelKeyRoleDestinationPrimary 1 Destination Primary Key.
esriRelKeyRoleOriginForeign 2 Origin Foreign Key.
esriRelKeyRoleDestinationForeign 3 Destination Foreign Key.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.