SqlDatabaseResource.GetDatabaseOperations(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Pageable<Azure.ResourceManager.Sql.Models.DatabaseOperationData> GetDatabaseOperations (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatabaseOperations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseOperationData>
override this.GetDatabaseOperations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseOperationData>
Public Overridable Function GetDatabaseOperations (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DatabaseOperationData)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DatabaseOperationData that may take multiple service requests to iterate over.