Delen via


AuditingPolicyOperationsExtensions.GetDatabasePolicyAsync Method

Definition

Returns an Azure SQL Database auditing policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseAuditingPolicyGetResponse> GetDatabasePolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IAuditingPolicyOperations operations, string resourceGroupName, string serverName, string databaseName);
static member GetDatabasePolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.IAuditingPolicyOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseAuditingPolicyGetResponse>
<Extension()>
Public Function GetDatabasePolicyAsync (operations As IAuditingPolicyOperations, resourceGroupName As String, serverName As String, databaseName As String) As Task(Of DatabaseAuditingPolicyGetResponse)

Parameters

operations
IAuditingPolicyOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IAuditingPolicyOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

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 for which the auditing policy applies.

Returns

Represents the response to a get database auditing policy request.

Applies to