Partilhar via


DomainDataDirectory.GetDomainRelationship Method

Definition

Overloads

GetDomainRelationship(Guid)

Gets domain relationship by Id.

GetDomainRelationship(String)

Gets domain relationship by full name.

GetDomainRelationship(Type)

Gets domain relationship by implementation type.

GetDomainRelationship(Guid)

Gets domain relationship by Id.

public:
 Microsoft::VisualStudio::Modeling::DomainRelationshipInfo ^ GetDomainRelationship(Guid id);
public Microsoft.VisualStudio.Modeling.DomainRelationshipInfo GetDomainRelationship (Guid id);
member this.GetDomainRelationship : Guid -> Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
Public Function GetDomainRelationship (id As Guid) As DomainRelationshipInfo

Parameters

id
Guid

Id of the relationship to look for.

Returns

DomainRelationshipInfo with specified Id.

Exceptions

Applies to

GetDomainRelationship(String)

Gets domain relationship by full name.

public:
 Microsoft::VisualStudio::Modeling::DomainRelationshipInfo ^ GetDomainRelationship(System::String ^ relationshipFullName);
public Microsoft.VisualStudio.Modeling.DomainRelationshipInfo GetDomainRelationship (string relationshipFullName);
member this.GetDomainRelationship : string -> Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
Public Function GetDomainRelationship (relationshipFullName As String) As DomainRelationshipInfo

Parameters

relationshipFullName
String

Full name of the relationship to look for.

Returns

DomainRelationshipInfo with specified name.

Exceptions

Applies to

GetDomainRelationship(Type)

Gets domain relationship by implementation type.

public:
 Microsoft::VisualStudio::Modeling::DomainRelationshipInfo ^ GetDomainRelationship(Type ^ type);
public Microsoft.VisualStudio.Modeling.DomainRelationshipInfo GetDomainRelationship (Type type);
member this.GetDomainRelationship : Type -> Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
Public Function GetDomainRelationship (type As Type) As DomainRelationshipInfo

Parameters

type
Type

Implementation type of the relationship to look for.

Returns

DomainRelationshipInfo.

Exceptions

Applies to