Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a domain relationship by the implementation type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Function GetDomainRelationship ( _
type As Type _
) As DomainRelationshipInfo
public DomainRelationshipInfo GetDomainRelationship(
Type type
)
public:
DomainRelationshipInfo^ GetDomainRelationship(
Type^ type
)
member GetDomainRelationship :
type:Type -> DomainRelationshipInfo
public function GetDomainRelationship(
type : Type
) : DomainRelationshipInfo
Parameters
- type
Type: System.Type
The implementation type for the relationship.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
A DomainRelationshipInfo object of the specified type.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) is passed in as an argument. |
| DomainDataNotFoundException | If the requested domain relationship is not found. |
.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.