Partager via


AccountService.CreateAccount Method (TeamFoundationRequestContext, String, String, Guid, AccountPreferences, IDictionary<String, Object>)

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

Syntax

'Declaration
Public MustOverride Function CreateAccount ( _
    requestContext As TeamFoundationRequestContext, _
    accountName As String, _
    organizationName As String, _
    creatorId As Guid, _
    accountPreferences As AccountPreferences, _
    properties As IDictionary(Of String, Object) _
) As Account
public abstract Account CreateAccount(
    TeamFoundationRequestContext requestContext,
    string accountName,
    string organizationName,
    Guid creatorId,
    AccountPreferences accountPreferences,
    IDictionary<string, Object> properties
)
public:
virtual Account^ CreateAccount(
    TeamFoundationRequestContext^ requestContext, 
    String^ accountName, 
    String^ organizationName, 
    Guid creatorId, 
    AccountPreferences^ accountPreferences, 
    IDictionary<String^, Object^>^ properties
) abstract
abstract CreateAccount : 
        requestContext:TeamFoundationRequestContext * 
        accountName:string * 
        organizationName:string * 
        creatorId:Guid * 
        accountPreferences:AccountPreferences * 
        properties:IDictionary<string, Object> -> Account
public abstract function CreateAccount(
    requestContext : TeamFoundationRequestContext, 
    accountName : String, 
    organizationName : String, 
    creatorId : Guid, 
    accountPreferences : AccountPreferences, 
    properties : IDictionary<String, Object>
) : Account

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Account.Account

.NET Framework Security

See Also

Reference

AccountService Class

CreateAccount Overload

Microsoft.VisualStudio.Services.Account Namespace