IDataSyncOperations.GetSyncAgentAsync Method

Definition

Get the information about a specified sync agent.

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

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

Represents a sync agent object.

Applies to