AccountHostManagementService.AssignAccountHost 方法

命名空间:  Microsoft.VisualStudio.Services.Account
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Function AssignAccountHost ( _
    requestContext As TeamFoundationRequestContext, _
    account As Account, _
    accountPreferences As AccountPreferences, _
    collation As String, _
    requestingIdentity As Identity, _
    <OutAttribute> ByRef hostId As Guid _
) As AccountHostAcquireAction
public AccountHostAcquireAction AssignAccountHost(
    TeamFoundationRequestContext requestContext,
    Account account,
    AccountPreferences accountPreferences,
    string collation,
    Identity requestingIdentity,
    out Guid hostId
)

参数

返回值

类型:Microsoft.VisualStudio.Services.Account.AccountHostAcquireAction

.NET Framework 安全性

请参见

参考

AccountHostManagementService 类

Microsoft.VisualStudio.Services.Account 命名空间