AuditingPolicyOperationsExtensions.GetServerPolicy 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 an Azure SQL Database server auditing policy.
public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAuditingPolicyGetResponse GetServerPolicy (this Microsoft.Azure.Management.Sql.LegacySdk.IAuditingPolicyOperations operations, string resourceGroupName, string serverName);
static member GetServerPolicy : Microsoft.Azure.Management.Sql.LegacySdk.IAuditingPolicyOperations * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerAuditingPolicyGetResponse
<Extension()>
Public Function GetServerPolicy (operations As IAuditingPolicyOperations, resourceGroupName As String, serverName As String) As ServerAuditingPolicyGetResponse
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.
Returns
Represents the response to a get database auditing policy request.