共用方式為


AccountHttpClient.GetAccountsByOwnerAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Account.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
Public Function GetAccountsByOwnerAsync ( _
    ownerId As Guid, _
    includeDisabledAccounts As Boolean, _
    propertyNameFilter As IEnumerable(Of String), _
    userState As Object _
) As Task(Of List(Of Account))
public Task<List<Account>> GetAccountsByOwnerAsync(
    Guid ownerId,
    bool includeDisabledAccounts,
    IEnumerable<string> propertyNameFilter,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<List<Account>>

.NET Framework 安全性

請參閱

參考

AccountHttpClient 類別

Microsoft.VisualStudio.Services.Account.Client 命名空間