Share via


DeletedServerCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of deleted servers for a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers
  • Operation Id: DeletedServers_ListByLocation
  • Default Api Version: 2020-11-01-preview
  • Resource: DeletedServerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.DeletedServerResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeletedServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DeletedServerResource that may take multiple service requests to iterate over.

Applies to