Freigeben über


SearchServiceClientExtensions.GetServiceStatisticsAsync Methode

Definition

Ruft Statistiken zum Servicelevel für einen Suchdienst ab.

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

Parameter

operations
ISearchServiceClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: