ManagementServer.GetAgentAssignments 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.
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
Collection of agent computer instances.
Exceptions
Not currently connected to a management group.