ManagementServer.GetAgentAssignments Method

Definition

Edit an agent assignment rule

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Administration::AgentAssignment ^> ^ GetAgentAssignments();
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.AgentAssignment> GetAgentAssignments ();
member this.GetAgentAssignments : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.AgentAssignment>
Public Function GetAgentAssignments () As ReadOnlyCollection(Of AgentAssignment)

Returns

ReadOnlyCollection<AgentAssignment>

Collection of agent computer instances.

Exceptions

Not currently connected to a management group.

Applies to