SearchIndexerClient.ResetIndexerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ResetIndexerAsync(String, RequestContext) |
[Protocol Method] Resets the change tracking state associated with an indexer.
|
| ResetIndexerAsync(String, CancellationToken) |
Resets the change tracking state associated with an indexer. |
ResetIndexerAsync(String, RequestContext)
- Source:
- SearchIndexerClient.cs
- Source:
- SearchIndexerClient.cs
[Protocol Method] Resets the change tracking state associated with an indexer.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> ResetIndexerAsync(string indexerName, Azure.RequestContext context);
abstract member ResetIndexerAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetIndexerAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetIndexerAsync (indexerName As String, context As RequestContext) As Task(Of Response)
Parameters
- indexerName
- String
The name of the indexer.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
indexerName is null.
indexerName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
ResetIndexerAsync(String, CancellationToken)
- Source:
- SearchIndexerClient.cs
- Source:
- SearchIndexerClient.cs
Resets the change tracking state associated with an indexer.
public virtual System.Threading.Tasks.Task<Azure.Response> ResetIndexerAsync(string indexerName, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetIndexerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetIndexerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetIndexerAsync (indexerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- indexerName
- String
The name of the indexer.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
The Response from the server.
Exceptions
indexerName is null.
indexerName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.