SqlServerResource.GetServerOperations(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.Pageable<Azure.ResourceManager.Sql.Models.ServerOperationData> GetServerOperations (System.Threading.CancellationToken cancellationToken = default);
abstract member GetServerOperations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.ServerOperationData>
override this.GetServerOperations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.ServerOperationData>
Public Overridable Function GetServerOperations (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServerOperationData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to