/// <summary>
 /// Issues a recovery request for an Azure SQL Database.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Sql.IRecoverDatabaseOperations.
 /// </param>
 /// <param name='sourceServerName'>
 /// Required. The name of the Azure SQL Database Server on which the
 /// database was hosted.
 /// </param>
 /// <param name='parameters'>
 /// Required. Additional parameters for the Create Recover Database
 /// Operation request.
 /// </param>
 /// <returns>
 /// Contains the response to the Create Recover Database Operation
 /// request.
 /// </returns>
 public static RecoverDatabaseOperationCreateResponse Create(this IRecoverDatabaseOperations operations, string sourceServerName, RecoverDatabaseOperationCreateParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IRecoverDatabaseOperations)s).CreateAsync(sourceServerName, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Issues a recovery request for an Azure SQL Database.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Sql.IRecoverDatabaseOperations.
 /// </param>
 /// <param name='sourceServerName'>
 /// Required. The name of the Azure SQL Database Server on which the
 /// database was hosted.
 /// </param>
 /// <param name='parameters'>
 /// Required. Additional parameters for the Create Recover Database
 /// Operation request.
 /// </param>
 /// <returns>
 /// Contains the response to the Create Recover Database Operation
 /// request.
 /// </returns>
 public static Task<RecoverDatabaseOperationCreateResponse> CreateAsync(this IRecoverDatabaseOperations operations, string sourceServerName, RecoverDatabaseOperationCreateParameters parameters)
 {
     return operations.CreateAsync(sourceServerName, parameters, CancellationToken.None);
 }