共用方式為


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

命名空間:  Microsoft.VisualStudio.Services.Account
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:Microsoft.VisualStudio.Services.Account.Account

.NET Framework 安全性

請參閱

參考

AccountService 類別

CreateAccount 多載

Microsoft.VisualStudio.Services.Account 命名空間