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