Partager via


RelationshipHasRoles.GetLinkToRelationship Method

Get the RelationshipHasRoles link to 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 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

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles

.NET Framework Security

See Also

Reference

RelationshipHasRoles Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace