Freigeben über


SkillsetsOperationsExtensions.ExistsAsync Methode

Definition

Bestimmt, ob das angegebene Skillset im Suchdienst vorhanden ist.

public static System.Threading.Tasks.Task<bool> ExistsAsync (this Microsoft.Azure.Search.ISkillsetsOperations operations, string skillsetName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ExistsAsync : Microsoft.Azure.Search.ISkillsetsOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function ExistsAsync (operations As ISkillsetsOperations, skillsetName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameter

operations
ISkillsetsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

skillsetName
String

Der Name des Skillsets.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

true wenn das Skillset vorhanden ist; false Andernfalls.

Gilt für: