Udostępnij przez


AzureSqlServerAdapter.GetDeletedServer(String, String, String) Method

Definition

Gets a deleted Azure SQL server by location and server name.

public Microsoft.Azure.Management.Sql.Models.DeletedServer GetDeletedServer(string location, string serverName, string subscriptionId = default);
member this.GetDeletedServer : string * string * string -> Microsoft.Azure.Management.Sql.Models.DeletedServer
Public Function GetDeletedServer (location As String, serverName As String, Optional subscriptionId As String = Nothing) As DeletedServer

Parameters

location
String

The Azure region (location) where the deleted server resided.

serverName
String

The name of the deleted SQL server.

subscriptionId
String

Optional. The subscription ID associated with the server. If null, uses the current context.

Returns

The deleted server information if found; otherwise, null.

Applies to