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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- accountName
Type: System.String
- organizationName
Type: System.String
- creatorId
Type: System.Guid
- accountPreferences
Type: Microsoft.TeamFoundation.Framework.Server.AccountPreferences
- properties
Type: System.Collections.Generic.IEnumerable<PropertyValue>
Return Value
Type: System.Threading.Tasks.Task<Account>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.