다음을 통해 공유


SqlServerResource.GetServerOperationsAsync(CancellationToken) Method

Definition

Gets a list of operations performed on the server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations
  • Operation Id: ServerOperations_ListByServer
  • Default Api Version: 2020-11-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.ServerOperationData> GetServerOperationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetServerOperationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.ServerOperationData>
override this.GetServerOperationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.ServerOperationData>
Public Overridable Function GetServerOperationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServerOperationData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ServerOperationData that may take multiple service requests to iterate over.

Applies to