ITeamFoundationIdentityService.CreateApplicationGroup 方法 (TeamFoundationRequestContext, String, String, String, Boolean, Boolean)

创建一个 TFS 应用程序组。

命名空间:  Microsoft.TeamFoundation.Server.Core
程序集:  Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)

语法

声明
Function CreateApplicationGroup ( _
    requestContext As TeamFoundationRequestContext, _
    projectUri As String, _
    groupName As String, _
    groupDescription As String, _
    scopeLocal As Boolean, _
    hasRestrictedVisibility As Boolean _
) As TeamFoundationIdentity
TeamFoundationIdentity CreateApplicationGroup(
    TeamFoundationRequestContext requestContext,
    string projectUri,
    string groupName,
    string groupDescription,
    bool scopeLocal,
    bool hasRestrictedVisibility
)

参数

  • groupDescription
    类型:System.String
    组是否可以访问包含来自不同范围的组?(如项目组只能包含从同一个项目的项目组。)

返回值

类型:Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
创建组的 IdentityDescriptor。

.NET Framework 安全性

请参阅

参考

ITeamFoundationIdentityService 接口

CreateApplicationGroup 重载

Microsoft.TeamFoundation.Server.Core 命名空间