DocumentOperationsExtensions.Count Method (IDocumentOperations)

 

Applies To: Microsoft Azure

Queries the number of documents in the Azure Search index. (see https://msdn.microsoft.com/library/azure/dn798924.aspx for more information)

Namespace:   Microsoft.Azure.Search
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Syntax

public static DocumentCountResponse Count(
    this IDocumentOperations operations
)
public:
[ExtensionAttribute]
static DocumentCountResponse^ Count(
    IDocumentOperations^ operations
)
static member Count : 
        operations:IDocumentOperations -> DocumentCountResponse
<ExtensionAttribute>
Public Shared Function Count (
    operations As IDocumentOperations
) As DocumentCountResponse

Parameters

Return Value

Type: Microsoft.Azure.Search.Models.DocumentCountResponse

Response containing the count of documents in the index.

See Also

DocumentOperationsExtensions Class
Microsoft.Azure.Search Namespace

Return to top