IDatabaseOperations.GetEventLogsAsync Method (String, String, DatabaseGetEventLogsParameters, CancellationToken)
Returns information about an Azure SQL Database event logs.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Task<DatabaseGetEventLogsResponse> GetEventLogsAsync( string serverName, string databaseName, DatabaseGetEventLogsParameters parameters, CancellationToken cancellationToken )
Parameters
- serverName
-
Type:
System.String
The name of the Azure SQL Database Server on which the database is hosted.
- databaseName
-
Type:
System.String
The name of the Azure SQL Database to be retrieved.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParameters
The parameters for the Get Database Event Logs operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<DatabaseGetEventLogsResponse>Contains the response to a Get Database Event Logs request.
Show: