IDataSyncOperations.BeginDeleteSyncAgentAsync Method

Definition

Begin deleting an existing sync agent. To determine the status of the operation, call GetDeleteSyncAgentOperationStatus.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DataSyncOperationResponse> BeginDeleteSyncAgentAsync (string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken);
abstract member BeginDeleteSyncAgentAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DataSyncOperationResponse>
Public Function BeginDeleteSyncAgentAsync (resourceGroupName As String, serverName As String, syncAgentName As String, cancellationToken As CancellationToken) As Task(Of DataSyncOperationResponse)

Parameters

resourceGroupName
String

Specifies the name of the resource group the sync agent belongs to.

serverName
String

Specifies the Azure SQL server name the sync agent belongs to.

syncAgentName
String

Specifies the sync agent name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running operations.

Applies to