Dela via


DeletedServersOperationsExtensions.RecoverAsync Method

Definition

Recovers a deleted server.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.DeletedServer> RecoverAsync (this Microsoft.Azure.Management.Sql.IDeletedServersOperations operations, string locationName, string deletedServerName, System.Threading.CancellationToken cancellationToken = default);
static member RecoverAsync : Microsoft.Azure.Management.Sql.IDeletedServersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.DeletedServer>
<Extension()>
Public Function RecoverAsync (operations As IDeletedServersOperations, locationName As String, deletedServerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeletedServer)

Parameters

operations
IDeletedServersOperations

The operations group for this extension method.

locationName
String

The name of the region where the resource is located.

deletedServerName
String

The name of the deleted server.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to