DomainDataDirectory.FindDomainRelationship Method (Guid)

Finds a domain relationship with a specific ID.

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

Syntax

'Declaração
Public Function FindDomainRelationship ( _
    id As Guid _
) As DomainRelationshipInfo
public DomainRelationshipInfo FindDomainRelationship(
    Guid id
)
public:
DomainRelationshipInfo^ FindDomainRelationship(
    Guid id
)
member FindDomainRelationship : 
        id:Guid -> DomainRelationshipInfo 
public function FindDomainRelationship(
    id : Guid
) : DomainRelationshipInfo

Parameters

  • id
    Type: System.Guid
    The ID of the domain relationship.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
A DomainRelationshipInfo object or null if not found.

Remarks

If the domain relationship is not found, nulla null reference (Nothing in Visual Basic) is returned.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

FindDomainRelationship Overload

Microsoft.VisualStudio.Modeling Namespace