Share via


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.String

    The name of the Azure SQL Database Server that hosts the database.

  • databaseName
    Type: System.String

    The name of the database for which the operations should be retrieved.

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