Freigeben über


DataSourcesOperationsExtensions.GetAsync Methode

Definition

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

Parameter

operations
IDataSourcesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

dataSourceName
String

Der Name der abzurufenden Datenquelle.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: