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)

public:
[ExtensionAttribute]
static Task<DatabaseGetEventLogsResponse^>^ GetEventLogsAsync(
	IDatabaseOperations^ operations,
	String^ serverName,
	String^ databaseName,
	DatabaseGetEventLogsParameters^ parameters
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Sql::IDatabaseOperations^

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.

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.

parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models::DatabaseGetEventLogsParameters^

Required. 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.

Return to top
Show: