共用方式為


ITeamFoundationIdentityService.CreateScope 方法

建立 TFS 群組的範圍 (類似於 Team 專案範圍)。

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

語法

'宣告
Function CreateScope ( _
    requestContext As TeamFoundationRequestContext, _
    scopeId As String, _
    scopeName As String, _
    adminGroupName As String, _
    adminGroupDescription As String _
) As IdentityDescriptor
IdentityDescriptor CreateScope(
    TeamFoundationRequestContext requestContext,
    string scopeId,
    string scopeName,
    string adminGroupName,
    string adminGroupDescription
)

參數

傳回值

類型:Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
系統管理員群組描述元。

.NET Framework 安全性

請參閱

參考

ITeamFoundationIdentityService 介面

Microsoft.TeamFoundation.Server.Core 命名空間