This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureWorkspace Interface > IFeatureWorkspace.OpenRelationshipClass Method (ArcObjects .NET 10.5 SDK) |
Opens an existing relationship class.
[Visual Basic .NET] Public Function OpenRelationshipClass ( _ ByVal Name As String _ ) As IRelationshipClass
[C#] public IRelationshipClass OpenRelationshipClass ( string Name );
[C++]
HRESULT OpenRelationshipClass(
BSTR Name,
IRelationshipClass** RelationshipClass
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR RelationshipClass [out, retval]
RelationshipClass is a parameter of type IRelationshipClass
The OpenRelationshipClass method can be used to open any existing relationship class in the workspace given its fully qualified name.
Use the IDatabaseConnectionInfo interface to determine the User and Database (if applicable). ISQLSyntax::QualifyTableName can be used to determine the fully qualified name for a relationship class.
IFeatureWorkspace Interface | IDatabaseConnectionInfo Interface