共用方式為


SqlDatabaseResource.GetSynapseLinkWorkspacesAsync(CancellationToken) Method

Definition

Gets all synapselink workspaces for a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/linkWorkspaces
  • Operation Id: SynapseLinkWorkspaces_ListByDatabase
  • Default Api Version: 2022-05-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace> GetSynapseLinkWorkspacesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseLinkWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace>
override this.GetSynapseLinkWorkspacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace>
Public Overridable Function GetSynapseLinkWorkspacesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlSynapseLinkWorkspace)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to