Share via


ManagementGroupAdministration.GetManagementServers Method (ManagementServerCriteria)

 

Applies To: Operations Manager for System Center 2012

Gets a collection of Management Servers in the Management Group.

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

Syntax

public ReadOnlyCollection<ManagementServer> GetManagementServers(
    ManagementServerCriteria criteria
)
public:
ReadOnlyCollection<ManagementServer^>^ GetManagementServers(
    ManagementServerCriteria^ criteria
)
member GetManagementServers : 
        criteria:ManagementServerCriteria -> ReadOnlyCollection<ManagementServer>
Public Function GetManagementServers (
    criteria As ManagementServerCriteria
) As ReadOnlyCollection(Of ManagementServer)

Parameters

Return Value

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

Returns a ReadOnlyCollection<T> of ManagementServer objects.

Examples

For an example, see How to Install, Remove, or Repair an Agent

See Also

GetManagementServers Overload
ManagementGroupAdministration Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top