AccountService.CreateAccount Method

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 IEnumerable(Of PropertyValue) _
) As Task(Of Account)
public abstract Task<Account> CreateAccount(
    TeamFoundationRequestContext requestContext,
    string accountName,
    string organizationName,
    Guid creatorId,
    AccountPreferences accountPreferences,
    IEnumerable<PropertyValue> properties
)
public:
virtual Task<Account^>^ CreateAccount(
    TeamFoundationRequestContext^ requestContext, 
    String^ accountName, 
    String^ organizationName, 
    Guid creatorId, 
    AccountPreferences^ accountPreferences, 
    IEnumerable<PropertyValue^>^ properties
) abstract
abstract CreateAccount : 
        requestContext:TeamFoundationRequestContext * 
        accountName:string * 
        organizationName:string * 
        creatorId:Guid * 
        accountPreferences:AccountPreferences * 
        properties:IEnumerable<PropertyValue> -> Task<Account> 
public abstract function CreateAccount(
    requestContext : TeamFoundationRequestContext, 
    accountName : String, 
    organizationName : String, 
    creatorId : Guid, 
    accountPreferences : AccountPreferences, 
    properties : IEnumerable<PropertyValue>
) : Task<Account>

Parameters

Return Value

Type: System.Threading.Tasks.Task<Account>

.NET Framework Security

See Also

Reference

AccountService Class

Microsoft.VisualStudio.Services.Account Namespace