IDatabaseOperationOperations.ListByDatabaseAsync Method (String, String, CancellationToken)
Retrieves all of the operations that took place on a specific database.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
Task<DatabaseOperationListResponse> ListByDatabaseAsync(
string serverName,
string databaseName,
CancellationToken cancellationToken
)
Task<DatabaseOperationListResponse^>^ ListByDatabaseAsync(
String^ serverName,
String^ databaseName,
CancellationToken cancellationToken
)
abstract ListByDatabaseAsync :
serverName:string *
databaseName:string *
cancellationToken:CancellationToken -> Task<DatabaseOperationListResponse>
Function ListByDatabaseAsync (
serverName As String,
databaseName As String,
cancellationToken As CancellationToken
) As Task(Of DatabaseOperationListResponse)
Parameters
serverName
Type: System.StringThe name of the Azure SQL Database Server that hosts the database.
databaseName
Type: System.StringThe name of the database for which the operations should be retrieved.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<DatabaseOperationListResponse>
Represents the response containing the list of database operations for a given server or database.
See Also
IDatabaseOperationOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top