RelationshipHasTarget.GetLink Method
Get the one RelationshipHasTarget link between a given DomainRelationshipand a DomainRole.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Function GetLink ( _
source As DomainRelationship, _
target As DomainRole _
) As RelationshipHasTarget
public static RelationshipHasTarget GetLink(
DomainRelationship source,
DomainRole target
)
public:
static RelationshipHasTarget^ GetLink(
DomainRelationship^ source,
DomainRole^ target
)
static member GetLink :
source:DomainRelationship *
target:DomainRole -> RelationshipHasTarget
public static function GetLink(
source : DomainRelationship,
target : DomainRole
) : RelationshipHasTarget
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasTarget
.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.