IDatabaseOperations.GetEventLogsAsync Method

Definition

Returns information about an Azure SQL Database event logs.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsResponse> GetEventLogsAsync (string serverName, string databaseName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member GetEventLogsAsync : string * string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsResponse>
Public Function GetEventLogsAsync (serverName As String, databaseName As String, parameters As DatabaseGetEventLogsParameters, cancellationToken As CancellationToken) As Task(Of DatabaseGetEventLogsResponse)

Parameters

serverName
String

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

databaseName
String

The name of the Azure SQL Database to be retrieved.

parameters
DatabaseGetEventLogsParameters

The parameters for the Get Database Event Logs operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains the response to a Get Database Event Logs request.

Applies to