IndexOperationsExtensions.ListNames Method (IIndexOperations)

 

Applies To: Microsoft Azure

Lists the names of all indexes available for an Azure Search service. Use this instead of List() when you only need index names. It will save bandwidth and resource utilization, especially if your Search Service has many indexes. https://msdn.microsoft.com/library/azure/dn798923.aspx

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

Syntax

public static IndexListNamesResponse ListNames(
    this IIndexOperations operations
)
public:
[ExtensionAttribute]
static IndexListNamesResponse^ ListNames(
    IIndexOperations^ operations
)
static member ListNames : 
        operations:IIndexOperations -> IndexListNamesResponse
<ExtensionAttribute>
Public Shared Function ListNames (
    operations As IIndexOperations
) As IndexListNamesResponse

Parameters

Return Value

Type: Microsoft.Azure.Search.Models.IndexListNamesResponse

Response from a List Index Names request. If successful, it includes the name of each index.

See Also

IndexOperationsExtensions Class
Microsoft.Azure.Search Namespace

Return to top