SqlServerResource.GetReplicationLinksAsync(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 a list of replication links.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/replicationLinks
- Operation Id: ReplicationLinks_ListByServer
- Default Api Version: 2023-05-01-preview
- Resource: SqlServerDatabaseReplicationLinkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkResource> GetReplicationLinksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReplicationLinksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkResource>
override this.GetReplicationLinksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkResource>
Public Overridable Function GetReplicationLinksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlServerDatabaseReplicationLinkResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of SqlServerDatabaseReplicationLinkResource that may take multiple service requests to iterate over.