Partilhar via


JobAgentsOperationsExtensions.ListByServerAsync Método

Definição

Obtém uma lista de agentes de trabalho em um servidor.

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

Parâmetros

operations
IJobAgentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos que contém o recurso. Você pode obter esse valor por meio da API do Gerenciador de Recursos do Azure ou por meio do portal.

serverName
String

O nome do servidor.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a