RelationshipHasSource.GetRelationship Method
Gets Relationship.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Function GetRelationship ( _
element As DomainRole _
) As DomainRelationship
public static DomainRelationship GetRelationship(
DomainRole element
)
public:
static DomainRelationship^ GetRelationship(
DomainRole^ element
)
static member GetRelationship :
element:DomainRole -> DomainRelationship
public static function GetRelationship(
element : DomainRole
) : DomainRelationship
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
.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.