次の方法で共有


IndexersOperationsExtensions.ExistsAsync メソッド

定義

指定されたインデクサーが検索サービスに存在するかどうかを判断します。

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

パラメーター

operations
IIndexersOperations

この拡張メソッドの操作グループ。

indexerName
String

インデクサーの名前。

searchRequestOptions
SearchRequestOptions

操作の追加パラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

インデクサーが存在する場合、true。存在しない場合、false

適用対象