ShareSubscriptionsOperationsExtensions.CancelSynchronizationAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET