IndexerOperationsExtensions.RunAsync Method (IIndexerOperations, String)
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
public static Task<AzureOperationResponse> RunAsync(
this IIndexerOperations operations,
string indexerName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ RunAsync(
IIndexerOperations^ operations,
String^ indexerName
)
static member RunAsync :
operations:IIndexerOperations *
indexerName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function RunAsync (
operations As IIndexerOperations,
indexerName As String
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.Azure.Search.IIndexerOperationsReference to the Microsoft.Azure.Search.IIndexerOperations.
indexerName
Type: System.StringRequired. 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
IndexerOperationsExtensions Class
Microsoft.Azure.Search Namespace
Return to top