AzureSqlServerAdapter.GetDeletedServer(String, String, String) 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.
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.