共用方式為


SyncGroupResource.CancelSyncAsync(CancellationToken) Method

Definition

Cancels a sync group synchronization.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/cancelSync
  • Operation Id: SyncGroups_CancelSync
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncGroupResource
public virtual System.Threading.Tasks.Task<Azure.Response> CancelSyncAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelSyncAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelSyncAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelSyncAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to