Sdílet prostřednictvím


AzureSqlElasticJobAdapter.ListAgents(String, String) Method

Definition

Get a list of existing agents belong to server

public System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobAgentModel> ListAgents (string resourceGroupName, string serverName);
member this.ListAgents : string * string -> System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.ElasticJobs.Model.AzureSqlElasticJobAgentModel>
Public Function ListAgents (resourceGroupName As String, serverName As String) As List(Of AzureSqlElasticJobAgentModel)

Parameters

resourceGroupName
String

The resource group name

serverName
String

The server the agents are in

Returns

The converted agent model(s)

Applies to