Share via


DatabaseOperationOperationsExtensions.ListByDatabaseAsync Method (IDatabaseOperationOperations, String, String)

 

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

public static Task<DatabaseOperationListResponse> ListByDatabaseAsync(
    this IDatabaseOperationOperations operations,
    string serverName,
    string databaseName
)
public:
[ExtensionAttribute]
static Task<DatabaseOperationListResponse^>^ ListByDatabaseAsync(
    IDatabaseOperationOperations^ operations,
    String^ serverName,
    String^ databaseName
)
static member ListByDatabaseAsync : 
        operations:IDatabaseOperationOperations *
        serverName:string *
        databaseName:string -> Task<DatabaseOperationListResponse>
<ExtensionAttribute>
Public Shared Function ListByDatabaseAsync (
    operations As IDatabaseOperationOperations,
    serverName As String,
    databaseName As String
) As Task(Of DatabaseOperationListResponse)

Parameters

  • serverName
    Type: System.String

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

  • databaseName
    Type: System.String

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

DatabaseOperationOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top