共用方式為


IndexesOperationsExtensions.ListAsync Method

Definition

Lists all indexes available for a search service. https://docs.microsoft.com/rest/api/searchservice/List-Indexes

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

Parameters

operations
IIndexesOperations

The operations group for this extension method.

select
String

Selects which properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to