Share via


ShareSubscriptionsOperationsExtensions.CancelSynchronizationAsync Method

Definition

Request cancellation of a data share snapshot

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ShareSubscriptionSynchronization> CancelSynchronizationAsync (this Microsoft.Azure.Management.DataShare.IShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareSubscriptionName, Microsoft.Azure.Management.DataShare.Models.ShareSubscriptionSynchronization shareSubscriptionSynchronization, System.Threading.CancellationToken cancellationToken = default);
static member CancelSynchronizationAsync : Microsoft.Azure.Management.DataShare.IShareSubscriptionsOperations * string * string * string * Microsoft.Azure.Management.DataShare.Models.ShareSubscriptionSynchronization * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ShareSubscriptionSynchronization>
<Extension()>
Public Function CancelSynchronizationAsync (operations As IShareSubscriptionsOperations, resourceGroupName As String, accountName As String, shareSubscriptionName As String, shareSubscriptionSynchronization As ShareSubscriptionSynchronization, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ShareSubscriptionSynchronization)

Parameters

operations
IShareSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareSubscriptionName
String

The name of the shareSubscription.

shareSubscriptionSynchronization
ShareSubscriptionSynchronization

Share Subscription Synchronization payload.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Request to cancel a synchronization.

Applies to