Share via


SqlDatabaseResource.GetSynapseLinkWorkspaces(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.Pageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace> GetSynapseLinkWorkspaces (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseLinkWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace>
override this.GetSynapseLinkWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.SqlSynapseLinkWorkspace>
Public Overridable Function GetSynapseLinkWorkspaces (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlSynapseLinkWorkspace)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to