IBlobAuditingOperations.GetServerPolicyAsync 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 blob auditing policy.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingGetResponse> GetServerPolicyAsync (string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken);
abstract member GetServerPolicyAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingGetResponse>
Public Function GetServerPolicyAsync (resourceGroupName As String, serverName As String, cancellationToken As CancellationToken) As Task(Of BlobAuditingGetResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the server belongs.
- serverName
- String
The name of the Azure SQL Database Server on which the database is hosted.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to a get request for Azure SQL server or database blob auditing policy.