Partager via


SyncAgentsOperationsExtensions.ListByServerAsync Méthode

Définition

Répertorie les agents de synchronisation dans un serveur.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent>> ListByServerAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.Sql.ISyncAgentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent>>
<Extension()>
Public Function ListByServerAsync (operations As ISyncAgentsOperations, resourceGroupName As String, serverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SyncAgent))

Paramètres

operations
ISyncAgentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serverName
String

Nom du serveur sur lequel l’agent de synchronisation est hébergé.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à