Partager via


AccountHttpClient.GetAccountsByOwnerAsync Method

Namespace:  Microsoft.VisualStudio.Services.Account.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
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
)
public:
Task<List<Account^>^>^ GetAccountsByOwnerAsync(
    Guid ownerId, 
    bool includeDisabledAccounts, 
    IEnumerable<String^>^ propertyNameFilter, 
    Object^ userState
)
member GetAccountsByOwnerAsync : 
        ownerId:Guid * 
        includeDisabledAccounts:bool * 
        propertyNameFilter:IEnumerable<string> * 
        userState:Object -> Task<List<Account>> 
public function GetAccountsByOwnerAsync(
    ownerId : Guid, 
    includeDisabledAccounts : boolean, 
    propertyNameFilter : IEnumerable<String>, 
    userState : Object
) : Task<List<Account>>

Parameters

Return Value

Type: System.Threading.Tasks.Task<List<Account>>

.NET Framework Security

See Also

Reference

AccountHttpClient Class

Microsoft.VisualStudio.Services.Account.Client Namespace