AzureSqlElasticJobAdapter.ListAgents(String, String) 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.
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)