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


IFeatureWorkspaceManage2.GetRelationshipClassNameByID Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  BSTR* qname
);
[C++]

Parameters relClassId [in] relClassId is a parameter of type long qname [out, retval] qname is a parameter of type BSTR

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