AzureSqlDeletedServerAdapter.ListDeletedServers 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.
Overloads
| Name | Description |
|---|---|
| ListDeletedServers(String) |
Gets all deleted Azure SQL servers in a subscription. |
| ListDeletedServers(String, String) |
ListDeletedServers(String)
Gets all deleted Azure SQL servers in a subscription.
public System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.DeletedServer> ListDeletedServers(string subscriptionId = default);
member this.ListDeletedServers : string -> seq<Microsoft.Azure.Management.Sql.Models.DeletedServer>
Public Function ListDeletedServers (Optional subscriptionId As String = Nothing) As IEnumerable(Of DeletedServer)
Parameters
- subscriptionId
- String
Optional. The subscription ID. If null, uses the current context.
Returns
List of all deleted servers in the subscription.
Applies to
ListDeletedServers(String, String)
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
- subscriptionId
- String