DataSourcesOperationsExtensions.GetAsync Método

Definição

Recupera uma definição de fonte de dados. https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source

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)

Parâmetros

operations
IDataSourcesOperations

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

dataSourceName
String

O nome da fonte de dados a ser recuperada.

searchRequestOptions
SearchRequestOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a