Share via


IDatabaseOperationOperations.ListByDatabaseAsync Method

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)

Usage

'Usage
Dim instance As IDatabaseOperationOperations
Dim serverName As String
Dim databaseName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of DatabaseOperationListResponse)

returnValue = instance.ListByDatabaseAsync(serverName, databaseName, cancellationToken)

Syntax

'Declaration
Function ListByDatabaseAsync ( _
    serverName As String, _
    databaseName As String, _
    cancellationToken As CancellationToken _
) As Task(Of DatabaseOperationListResponse)
Task<DatabaseOperationListResponse> ListByDatabaseAsync (
    string serverName,
    string databaseName,
    CancellationToken cancellationToken
)
Task<DatabaseOperationListResponse^>^ ListByDatabaseAsync (
    String^ serverName, 
    String^ databaseName, 
    CancellationToken cancellationToken
)
Task<DatabaseOperationListResponse> ListByDatabaseAsync (
    String serverName, 
    String databaseName, 
    CancellationToken cancellationToken
)
function ListByDatabaseAsync (
    serverName : String, 
    databaseName : String, 
    cancellationToken : CancellationToken
) : Task<DatabaseOperationListResponse>

Parameters

  • serverName
    The name of the Azure SQL Database Server that hosts the database.
  • databaseName
    The name of the database for which the operations should be retrieved.
  • cancellationToken
    Cancellation token.

Return Value

Represents the response containing the list of database operations for a given server or database.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IDatabaseOperationOperations Interface
IDatabaseOperationOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace