AccountHostManagementService.CreateAccount Method
Namespace: Microsoft.VisualStudio.Services.Account
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateAccount ( _
requestContext As TeamFoundationRequestContext, _
accountName As String, _
organizationName As String, _
accountPreferences As AccountPreferences, _
properties As IEnumerable(Of PropertyValue) _
) As AccountCreationResult
public AccountCreationResult CreateAccount(
TeamFoundationRequestContext requestContext,
string accountName,
string organizationName,
AccountPreferences accountPreferences,
IEnumerable<PropertyValue> properties
)
public:
AccountCreationResult^ CreateAccount(
TeamFoundationRequestContext^ requestContext,
String^ accountName,
String^ organizationName,
AccountPreferences^ accountPreferences,
IEnumerable<PropertyValue^>^ properties
)
member CreateAccount :
requestContext:TeamFoundationRequestContext *
accountName:string *
organizationName:string *
accountPreferences:AccountPreferences *
properties:IEnumerable<PropertyValue> -> AccountCreationResult
public function CreateAccount(
requestContext : TeamFoundationRequestContext,
accountName : String,
organizationName : String,
accountPreferences : AccountPreferences,
properties : IEnumerable<PropertyValue>
) : AccountCreationResult
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- accountName
Type: System.String
- organizationName
Type: System.String
- accountPreferences
Type: Microsoft.TeamFoundation.Framework.Server.AccountPreferences
- properties
Type: System.Collections.Generic.IEnumerable<PropertyValue>
Return Value
Type: Microsoft.VisualStudio.Services.Account.AccountCreationResult
.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.