共用方式為


RoleHasRolePlayer.GetLinks 方法

取得指定的 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 GetLinks ( _
    source As DomainRole, _
    target As DomainClass _
) As ReadOnlyCollection(Of RoleHasRolePlayer)
public static ReadOnlyCollection<RoleHasRolePlayer> GetLinks(
    DomainRole source,
    DomainClass target
)

參數

傳回值

類型:System.Collections.ObjectModel.ReadOnlyCollection<RoleHasRolePlayer>

.NET Framework 安全性

請參閱

參考

RoleHasRolePlayer 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間