Share via


ITeamFoundationIdentityService.CreateScope, méthode

Créez une place des groupes TFS (semblable à la portée du projet d'équipe).

Espace de noms :  Microsoft.TeamFoundation.Server.Core
Assembly :  Microsoft.TeamFoundation.Server.Core (dans Microsoft.TeamFoundation.Server.Core.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • scopeName
    Type : System.String
    Nom de groupe d'administrateur.
  • adminGroupName
    Type : System.String
    Description du groupe d'administrateur.

Valeur de retour

Type : Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Descripteur de groupe Administrateurs.

Sécurité .NET Framework

Voir aussi

Référence

ITeamFoundationIdentityService Interface

Microsoft.TeamFoundation.Server.Core, espace de noms