RelationshipHasTarget.GetLinkToRelationship Method
Get the RelationshipHasTarget link to a DomainRole.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetLinkToRelationship ( _
targetInstance As DomainRole _
) As RelationshipHasTarget
public static RelationshipHasTarget GetLinkToRelationship(
DomainRole targetInstance
)
public:
static RelationshipHasTarget^ GetLinkToRelationship(
DomainRole^ targetInstance
)
static member GetLinkToRelationship :
targetInstance:DomainRole -> RelationshipHasTarget
public static function GetLinkToRelationship(
targetInstance : DomainRole
) : RelationshipHasTarget
Parameters
- targetInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
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.