Compartilhar via


DataSourcesOperationsExtensions.ListAsync Método

Definição

Lista todas as fontes de dados disponíveis para um serviço de pesquisa. https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.DataSourceListResult> ListAsync (this Microsoft.Azure.Search.IDataSourcesOperations operations, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Search.IDataSourcesOperations * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.DataSourceListResult>
<Extension()>
Public Function ListAsync (operations As IDataSourcesOperations, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataSourceListResult)

Parâmetros

operations
IDataSourcesOperations

O grupo de operações para esse método de extensão.

searchRequestOptions
SearchRequestOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a