Partilhar via


DomainDataDirectory.FindDomainRelationship Method

Definition

Overloads

FindDomainRelationship(Type)

Finds domain relationship by implementation type.

FindDomainRelationship(String)

Finds a domain relationship whose full name matches the given name.

FindDomainRelationship(Guid)

Find domain relationship by Id.

FindDomainRelationship(Type)

Finds domain relationship by implementation type.

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

Parameters

type
Type

Implementation type of the relationship to look for.

Returns

DomainRelationshipInfo or null if not found.

Exceptions

Applies to

FindDomainRelationship(String)

Finds a domain relationship whose full name matches the given name.

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

Parameters

relationshipFullName
String

Full name of domain relationship to search for.

Returns

DomainRelationshipInfo or null if not found

Exceptions

Applies to

FindDomainRelationship(Guid)

Find domain relationship by Id.

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

Parameters

id
Guid

Id of the relationship to look for.

Returns

DomainRelationshipInfo or null if not found.

Applies to