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
operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server on which the database is hosted.
databaseName
Type: System.StringRequired. The name of the Azure SQL Database to be retrieved.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetEventLogsParametersRequired. The parameters for the Get Database Event Logs operation.
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