共用方式為


ITeamFoundationIdentityService.ListApplicationGroups 方法 (TeamFoundationRequestContext, String, ReadIdentityOptions, IEnumerable<String>, IdentityPropertyScope)

列出在指定範圍內的所有 TFS 應用程式群組。

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

語法

'宣告
Function ListApplicationGroups ( _
    requestContext As TeamFoundationRequestContext, _
    scope As String, _
    readOptions As ReadIdentityOptions, _
    propertyNameFilters As IEnumerable(Of String), _
    propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity()
TeamFoundationIdentity[] ListApplicationGroups(
    TeamFoundationRequestContext requestContext,
    string scope,
    ReadIdentityOptions readOptions,
    IEnumerable<string> propertyNameFilters,
    IdentityPropertyScope propertyScope
)

參數

  • scope
    類型:System.String
    如果是 null 或空白,伺服器範圍的應用程式群組將清單;或專案範圍的應用程式群組,每一個參數,將清單。

傳回值

類型:array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]
應用程式群組做為陣列識別。

.NET Framework 安全性

請參閱

參考

ITeamFoundationIdentityService 介面

ListApplicationGroups 多載

Microsoft.TeamFoundation.Server.Core 命名空間