WorkspacesOperationsExtensions.ListAsync Method

Definition

Returns a list of workspaces in a subscription

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

Parameters

operations
IWorkspacesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to