DomainDataDirectory.GetDomainRelationship Method (String)

Gets a domain relationship by the full name.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Function GetDomainRelationship ( _
    relationshipFullName As String _
) As DomainRelationshipInfo
public DomainRelationshipInfo GetDomainRelationship(
    string relationshipFullName
)
public:
DomainRelationshipInfo^ GetDomainRelationship(
    String^ relationshipFullName
)
member GetDomainRelationship : 
        relationshipFullName:string -> DomainRelationshipInfo
public function GetDomainRelationship(
    relationshipFullName : String
) : DomainRelationshipInfo

Parameters

  • relationshipFullName
    Type: String

    The full name of the domain relationship.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
A DomainRelationshipInfo object with the specified full name.

Exceptions

Exception Condition
ArgumentNullException

If a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) is passed in as an argument.

DomainDataNotFoundException

If the requested domain relationship is not found.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

GetDomainRelationship Overload

Microsoft.VisualStudio.Modeling Namespace