SqlDatabaseResource.GetSynapseLinkWorkspacesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.