Dela via


JobTargetGroupsOperationsExtensions.ListByAgent Method

Definition

Gets all target groups in an agent.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobTargetGroup> ListByAgent (this Microsoft.Azure.Management.Sql.IJobTargetGroupsOperations operations, string resourceGroupName, string serverName, string jobAgentName);
static member ListByAgent : Microsoft.Azure.Management.Sql.IJobTargetGroupsOperations * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobTargetGroup>
<Extension()>
Public Function ListByAgent (operations As IJobTargetGroupsOperations, resourceGroupName As String, serverName As String, jobAgentName As String) As IPage(Of JobTargetGroup)

Parameters

operations
IJobTargetGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

jobAgentName
String

The name of the job agent.

Returns

Applies to