ManagementServer.AddAgentAssignment Method

Updated: April 16, 2012

Adds an agent assignment rule to the management server. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim assignment As AgentAssignment instance.AddAgentAssignment(assignment)Public Sub AddAgentAssignment ( _ assignment As AgentAssignment _ )public void AddAgentAssignment ( AgentAssignment assignment )public: void AddAgentAssignment ( AgentAssignment^ assignment )public void AddAgentAssignment ( AgentAssignment assignment )public function AddAgentAssignment ( assignment : AgentAssignment )ParametersassignmentThe agent assignment to add.
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