Exemple #1
0
 /// <summary>
 /// Returns an Azure SQL Database Transparent Data Encryption Protector
 /// Response.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Sql.ITransparentDataEncryptionOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the Resource Group to which the server
 /// belongs.
 /// </param>
 /// <param name='serverName'>
 /// Required. The name of the Azure SQL Database Server.
 /// </param>
 /// <returns>
 /// Represents the response to a Get for a Azure Sql Database
 /// Transparent Data Encryption EncryptionProtector request.
 /// </returns>
 public static Task <EncryptionProtectorGetResponse> GetEncryptionProtectorAsync(this ITransparentDataEncryptionOperations operations, string resourceGroupName, string serverName)
 {
     return(operations.GetEncryptionProtectorAsync(resourceGroupName, serverName, CancellationToken.None));
 }