Share via


DatabaseOperationsExtensions.GetEventLogsAsync Method (IDatabaseOperations, String, String, DatabaseGetEventLogsParameters)

 

Returns information about an Azure SQL Database event logs.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

public static Task<DatabaseGetEventLogsResponse> GetEventLogsAsync(
    this IDatabaseOperations operations,
    string serverName,
    string databaseName,
    DatabaseGetEventLogsParameters parameters
)
public:
[ExtensionAttribute]
static Task<DatabaseGetEventLogsResponse^>^ GetEventLogsAsync(
    IDatabaseOperations^ operations,
    String^ serverName,
    String^ databaseName,
    DatabaseGetEventLogsParameters^ parameters
)
static member GetEventLogsAsync : 
        operations:IDatabaseOperations *
        serverName:string *
        databaseName:string *
        parameters:DatabaseGetEventLogsParameters -> Task<DatabaseGetEventLogsResponse>
<ExtensionAttribute>
Public Shared Function GetEventLogsAsync (
    operations As IDatabaseOperations,
    serverName As String,
    databaseName As String,
    parameters As DatabaseGetEventLogsParameters
) As Task(Of DatabaseGetEventLogsResponse)

Parameters

  • serverName
    Type: System.String

    Required. The name of the Azure SQL Database Server on which the database is hosted.

  • databaseName
    Type: System.String

    Required. The name of the Azure SQL Database to be retrieved.

Return Value

Type: System.Threading.Tasks.Task<DatabaseGetEventLogsResponse>

Contains the response to a Get Database Event Logs request.

See Also

DatabaseOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top