Aracılığıyla paylaş


SqlDatabaseResource.GetDatabaseOperationsAsync(CancellationToken) Method

Definition

Gets a list of operations performed on the database.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to