IndexersOperationsExtensions.Exists Method

Definition

Determines whether or not the given indexer exists in the search service.

public static bool Exists (this Microsoft.Azure.Search.IIndexersOperations operations, string indexerName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member Exists : Microsoft.Azure.Search.IIndexersOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions -> bool
<Extension()>
Public Function Exists (operations As IIndexersOperations, indexerName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing) As Boolean

Parameters

operations
IIndexersOperations

The operations group for this extension method.

indexerName
String

The name of the indexer.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation.

Returns

true if the indexer exists; false otherwise.

Applies to