DatabaseOperationsExtensions.GetEventLogsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns information about an Azure SQL Database event logs.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsResponse> GetEventLogsAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations operations, string serverName, string databaseName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParameters parameters);
static member GetEventLogsAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations * string * string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsResponse>
<Extension()>
Public Function GetEventLogsAsync (operations As IDatabaseOperations, serverName As String, databaseName As String, parameters As DatabaseGetEventLogsParameters) As Task(Of DatabaseGetEventLogsResponse)
Parameters
- operations
- IDatabaseOperations
Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
- serverName
- String
Required. The name of the Azure SQL Database Server on which the database is hosted.
- databaseName
- String
Required. The name of the Azure SQL Database to be retrieved.
- parameters
- DatabaseGetEventLogsParameters
Required. The parameters for the Get Database Event Logs operation.
Returns
Contains the response to a Get Database Event Logs request.
Applies to
Azure SDK for .NET