Freigeben über


AzureSqlDeletedServerAdapter.ListDeletedServers(String, String) Method

Definition

Gets all deleted Azure SQL servers in a location.

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.DeletedServer> ListDeletedServers(string location, string subscriptionId = default);
member this.ListDeletedServers : string * string -> seq<Microsoft.Azure.Management.Sql.Models.DeletedServer>
Public Function ListDeletedServers (location As String, Optional subscriptionId As String = Nothing) As IEnumerable(Of DeletedServer)

Parameters

location
String

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

subscriptionId
String

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

Returns

List of deleted servers in the specified location.

Applies to