Freigeben über


DataSourcesOperationsExtensions.ListAsync Methode

Definition

Listet alle Datenquellen auf, die für einen Suchdienst verfügbar sind. 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)

Parameter

operations
IDataSourcesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: