Share via


AccountHttpClient.GetAccountsAsync Method

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

Syntax

'Declaration
Public Function GetAccountsAsync ( _
    includeDisabledAccounts As Boolean, _
    propertyNameFilter As IEnumerable(Of String), _
    userState As Object _
) As Task(Of List(Of Account))
public Task<List<Account>> GetAccountsAsync(
    bool includeDisabledAccounts,
    IEnumerable<string> propertyNameFilter,
    Object userState
)
public:
Task<List<Account^>^>^ GetAccountsAsync(
    bool includeDisabledAccounts, 
    IEnumerable<String^>^ propertyNameFilter, 
    Object^ userState
)
member GetAccountsAsync : 
        includeDisabledAccounts:bool * 
        propertyNameFilter:IEnumerable<string> * 
        userState:Object -> Task<List<Account>> 
public function GetAccountsAsync(
    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