RoleHasRolePlayer.GetLink 方法

获取一个给定的 DomainRole 和 DomainClass 之间的 RoleHasRolePlayer 链接。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

语法

声明
Public Shared Function GetLink ( _
    source As DomainRole, _
    target As DomainClass _
) As RoleHasRolePlayer
public static RoleHasRolePlayer GetLink(
    DomainRole source,
    DomainClass target
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer

.NET Framework 安全性

请参阅

参考

RoleHasRolePlayer 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间