Delen via


DomainDataDirectory.GetDomainRelationship Method (Guid)

Gets a domain relationship with a specific ID.

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

Syntax

'Declaration
Public Function GetDomainRelationship ( _
    id As Guid _
) As DomainRelationshipInfo
public DomainRelationshipInfo GetDomainRelationship(
    Guid id
)
public:
DomainRelationshipInfo^ GetDomainRelationship(
    Guid id
)
member GetDomainRelationship : 
        id:Guid -> DomainRelationshipInfo
public function GetDomainRelationship(
    id : Guid
) : DomainRelationshipInfo

Parameters

  • id
    Type: System.Guid

    The ID of the domain relationship.

Return Value

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

Exceptions

Exception Condition
DomainDataNotFoundException

If the requested domain relationship is not found.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

GetDomainRelationship Overload

Microsoft.VisualStudio.Modeling Namespace