共用方式為


TeamFoundationAccessControlService.QueryServiceIdentities 方法 (TeamFoundationRequestContext, array<String[], Boolean)

查詢服務識別名稱

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Function QueryServiceIdentities ( _
    requestContext As TeamFoundationRequestContext, _
    serviceIdentityNames As String(), _
    includeMemberships As Boolean _
) As ServiceIdentity()
public ServiceIdentity[] QueryServiceIdentities(
    TeamFoundationRequestContext requestContext,
    string[] serviceIdentityNames,
    bool includeMemberships
)

參數

  • serviceIdentityNames
    類型:array<System.String[]
    查詢的服務識別名稱。
  • includeMemberships
    類型:System.Boolean
    是否包含成員資格資訊。

傳回值

類型:array<Microsoft.TeamFoundation.Framework.Server.ServiceIdentity[]
服務識別

.NET Framework 安全性

請參閱

參考

TeamFoundationAccessControlService 類別

QueryServiceIdentities 多載

Microsoft.TeamFoundation.Framework.Server 命名空間