AccountService.CreateAccount 方法

命名空间:  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 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
)

参数

返回值

类型:System.Threading.Tasks.Task<Account>

.NET Framework 安全性

请参见

参考

AccountService 类

Microsoft.VisualStudio.Services.Account 命名空间