DomainDataDirectory.FindDomainRelationship Method (String)
Finds 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 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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.