Bagikan melalui


SearchIndexerClient.ResetSkillsAsync Method

Definition

Resets skills in an existing skillset in a search service.

public virtual System.Threading.Tasks.Task<Azure.Response> ResetSkillsAsync (string skillsetName, Azure.Search.Documents.Models.ResetSkillsOptions resetSkillsOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetSkillsAsync : string * Azure.Search.Documents.Models.ResetSkillsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetSkillsAsync : string * Azure.Search.Documents.Models.ResetSkillsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetSkillsAsync (skillsetName As String, resetSkillsOptions As ResetSkillsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

skillsetName
String

The name of the skillset to reset.

resetSkillsOptions
ResetSkillsOptions

Options for the reset skills operation.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be canceled.

Returns

A Response indicating the status of the operation.

Applies to