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


IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureWorkspaceManage2 Interface > IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method
ArcGIS Developer Help

IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method

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
);
[C++]
Parameters
relClassId [in]

relClassId is a parameter of type long

Product Availability

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

Remarks

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.

See Also

IFeatureWorkspaceManage2 Interface | IRelationshipClass Interface | IFeatureWorkspace Interface