共用方式為


ITeamFoundationIdentityService.CreateApplicationGroup Method (TeamFoundationRequestContext, String, String, String)

Creates a TFS application group.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Function CreateApplicationGroup ( _
    requestContext As TeamFoundationRequestContext, _
    scopeId As String, _
    groupName As String, _
    groupDescription As String _
) As TeamFoundationIdentity
TeamFoundationIdentity CreateApplicationGroup(
    TeamFoundationRequestContext requestContext,
    string scopeId,
    string groupName,
    string groupDescription
)
TeamFoundationIdentity^ CreateApplicationGroup(
    TeamFoundationRequestContext^ requestContext, 
    String^ scopeId, 
    String^ groupName, 
    String^ groupDescription
)
abstract CreateApplicationGroup : 
        requestContext:TeamFoundationRequestContext * 
        scopeId:string * 
        groupName:string * 
        groupDescription:string -> TeamFoundationIdentity
function CreateApplicationGroup(
    requestContext : TeamFoundationRequestContext, 
    scopeId : String, 
    groupName : String, 
    groupDescription : String
) : TeamFoundationIdentity

Parameters

  • scopeId
    Type: System.String

    The project URI. If null or empty, the group will be created at the server scope; or the group will be created at the project scope per this parameter.

  • groupDescription
    Type: System.String

    The description. Can be null.

Return Value

Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
The created group identity.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

CreateApplicationGroup Overload

Microsoft.TeamFoundation.Server.Core Namespace