Compartir a través de


DomainDataDirectory.FindDomainRelationship Method (String)

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

'Declaración
Public Function FindDomainRelationship ( _
    relationshipFullName As String _
) As DomainRelationshipInfo
public DomainRelationshipInfo FindDomainRelationship(
    string relationshipFullName
)
public:
DomainRelationshipInfo^ FindDomainRelationship(
    String^ relationshipFullName
)
member FindDomainRelationship : 
        relationshipFullName:string -> DomainRelationshipInfo 
public function FindDomainRelationship(
    relationshipFullName : String
) : DomainRelationshipInfo

Parameters

  • relationshipFullName
    Type: System.String
    The full name 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