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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- accountName
類型:System.String
- organizationName
類型:System.String
- creatorId
類型:System.Guid
- accountPreferences
類型:Microsoft.TeamFoundation.Framework.Server.AccountPreferences
- properties
類型:System.Collections.Generic.IDictionary<String, Object>
傳回值
類型:Microsoft.VisualStudio.Services.Account.Account
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。