共用方式為


SqlServerResource.GetReplicationLinksAsync(CancellationToken) Method

Definition

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.

Applies to