Share via


DocumentsOperationsExtensions.Count Method

Definition

Queries the number of documents in the search index.

public static long Count (this Microsoft.Azure.Search.IDocumentsOperations operations, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member Count : Microsoft.Azure.Search.IDocumentsOperations * Microsoft.Azure.Search.Models.SearchRequestOptions -> int64
<Extension()>
Public Function Count (operations As IDocumentsOperations, Optional searchRequestOptions As SearchRequestOptions = Nothing) As Long

Parameters

operations
IDocumentsOperations

The operations group for this extension method.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

Returns

Applies to