IDataSourceOperations.ListAsync Method (CancellationToken)

 

Applies To: Microsoft Azure

Lists all datasources available for an Azure Search service. (see https://msdn.microsoft.com/library/azure/dn946878.aspx for more information)

Namespace:   Microsoft.Azure.Search
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Syntax

Task<DataSourceListResponse> ListAsync(
    CancellationToken cancellationToken
)
Task<DataSourceListResponse^>^ ListAsync(
    CancellationToken cancellationToken
)
abstract ListAsync : 
        cancellationToken:CancellationToken -> Task<DataSourceListResponse>
Function ListAsync (
    cancellationToken As CancellationToken
) As Task(Of DataSourceListResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<DataSourceListResponse>

Response from a List Datasources request. If successful, it includes the full definitions of all datasources.

See Also

IDataSourceOperations Interface
Microsoft.Azure.Search Namespace

Return to top