ManagementServer.GetAgentAssignments Method

Updated: April 16, 2012

Gets all the agent assignment rules in the management server. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim returnValue As ReadOnlyCollection(Of AgentAssignment) returnValue = instance.GetAgentAssignmentsPublic Function GetAgentAssignments As ReadOnlyCollection(Of AgentAssignment)public ReadOnlyCollection<AgentAssignment> GetAgentAssignments ()public: ReadOnlyCollection<AgentAssignment^>^ GetAgentAssignments ()public ReadOnlyCollection<AgentAssignment> GetAgentAssignments ()public function GetAgentAssignments () : ReadOnlyCollection<AgentAssignment>Return ValueReturns a ReadOnlyCollection of AgentAssignment objects.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms