共用方式為


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 命名空間