Share via


ServersOperationsExtensions.ListAsync Method

Definition

Gets a list of all servers in the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>> ListAsync (this Microsoft.Azure.Management.Sql.Fluent.IServersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Sql.Fluent.IServersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>>
<Extension()>
Public Function ListAsync (operations As IServersOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ServerInner))

Parameters

operations
IServersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to