IIndexerOperations.RunAsync Method (String, CancellationToken)

 

Applies To: Microsoft Azure

Runs an Azure Search indexer on-demand. (see https://msdn.microsoft.com/library/azure/dn946885.aspx for more information)

Namespace:   Microsoft.Azure.Search
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Syntax

Task<AzureOperationResponse> RunAsync(
    string indexerName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ RunAsync(
    String^ indexerName,
    CancellationToken cancellationToken
)
abstract RunAsync : 
        indexerName:string *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function RunAsync (
    indexerName As String,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • indexerName
    Type: System.String

    The name of the indexer to run.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IIndexerOperations Interface
Microsoft.Azure.Search Namespace

Return to top