IIndexerOperations.GetAsync Method (String, CancellationToken)
Applies To: Microsoft Azure
Retrieves an indexer definition from Azure Search. (see https://msdn.microsoft.com/library/azure/dn946874.aspx for more information)
Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Syntax
Task<IndexerDefinitionResponse> GetAsync(
string indexerName,
CancellationToken cancellationToken
)
Task<IndexerDefinitionResponse^>^ GetAsync(
String^ indexerName,
CancellationToken cancellationToken
)
abstract GetAsync :
indexerName:string *
cancellationToken:CancellationToken -> Task<IndexerDefinitionResponse>
Function GetAsync (
indexerName As String,
cancellationToken As CancellationToken
) As Task(Of IndexerDefinitionResponse)
Parameters
indexerName
Type: System.StringThe name of the indexer to retrieve.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<IndexerDefinitionResponse>
Response from a Create, Update, or Get Indexer request. If successful, it includes the full definition of the indexer that was created, updated, or retrieved.
See Also
IIndexerOperations Interface
Microsoft.Azure.Search Namespace
Return to top