IDataSyncOperations.BeginCreateOrUpdateSyncAgentAsync 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.
Begin creating a new sync group. To determine the status of the operation, call GetCreateOrUpdateSyncAgentOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse> BeginCreateOrUpdateSyncAgentAsync (string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateSyncAgentAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateSyncAgentAsync (resourceGroupName As String, serverName As String, syncAgentName As String, parameters As SyncAgentCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of SyncAgentCreateOrUpdateResponse)
Parameters
- resourceGroupName
- String
Specifies the name of the resource group the sync agent belongs to.
- serverName
- String
Specifies the Azure SQL server name.
- syncAgentName
- String
Specifies the sync agent name.
- parameters
- SyncAgentCreateOrUpdateParameters
Specifies other parameters of creating the sync agent.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represent the response of create or update a sync agent.