This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureWorkspaceManage2 Interface > IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method (ArcObjects .NET 10.4 SDK) |
Gets fully qualified relationship class name by relationship class id.
[Visual Basic .NET] Public Function GetRelationshipClassNameByID ( _ ByVal relClassId As Integer _ ) As String
[C#] public string GetRelationshipClassNameByID ( int relClassId );
[C++]
HRESULT GetRelationshipClassNameByID(
long relClassId,
BSTR* qname
);
[C++]
Parameters relClassId [in] relClassId is a parameter of type long qname [out, retval] qname is a parameter of type BSTR
The GetRelationshipClassNameByID method can be used to get the fully qualified name of a relationship class based on its RelationshipClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenRelationshipClass to open the relationship class.
IFeatureWorkspaceManage2 Interface | IRelationshipClass Interface | IFeatureWorkspace Interface