Partilhar via


Método AccountService.CreateAccount (TeamFoundationRequestContext, String, String, AccountPreferences, IDictionary<String, Object>)

Cria uma conta com o usuário autenticado atual como o criador.

Namespace:  Microsoft.VisualStudio.Services.Account
Assembly:  Microsoft.TeamFoundation.Framework.Server (em Microsoft.TeamFoundation.Framework.Server.dll)

Sintaxe

'Declaração
Public Function CreateAccount ( _
    requestContext As TeamFoundationRequestContext, _
    accountName As String, _
    organizationName As String, _
    accountPreferences As AccountPreferences, _
    properties As IDictionary(Of String, Object) _
) As Account
public Account CreateAccount(
    TeamFoundationRequestContext requestContext,
    string accountName,
    string organizationName,
    AccountPreferences accountPreferences,
    IDictionary<string, Object> properties
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Services.Account.Account

Segurança do .NET Framework

Consulte também

Referência

AccountService Classe

Sobrecargas CreateAccount

Namespace Microsoft.VisualStudio.Services.Account