RelationshipHasSource.GetLinkToRelationship Method
Get the RelationshipHasSource 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 ( _
sourceInstance As DomainRole _
) As RelationshipHasSource
public static RelationshipHasSource GetLinkToRelationship(
DomainRole sourceInstance
)
public:
static RelationshipHasSource^ GetLinkToRelationship(
DomainRole^ sourceInstance
)
static member GetLinkToRelationship :
sourceInstance:DomainRole -> RelationshipHasSource
public static function GetLinkToRelationship(
sourceInstance : DomainRole
) : RelationshipHasSource
Parameters
- sourceInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource
.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.