Share via


ManagementServer.GetAgentAssignments Method ()

 

Applies To: Operations Manager for System Center 2012

Gets all the agent assignment rules in the management server.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public ReadOnlyCollection<AgentAssignment> GetAgentAssignments()
public:
ReadOnlyCollection<AgentAssignment^>^ GetAgentAssignments()
member GetAgentAssignments : unit -> ReadOnlyCollection<AgentAssignment>
Public Function GetAgentAssignments As ReadOnlyCollection(Of AgentAssignment)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<AgentAssignment>

Returns a ReadOnlyCollection<T> of AgentAssignment objects.

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top