ManagementGroupAdministration.GetManagementServers Method

Definition

Gets a collection of Management Servers in the Management Group.

Overloads

GetManagementServers(ManagementServerCriteria)

Get management server by computer criteria.

GetManagementServers(IList<Guid>)

Get management server by computer criteria.

GetManagementServers(ManagementServerCriteria)

Get management server by computer criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ GetManagementServers(Microsoft::EnterpriseManagement::Administration::ManagementServerCriteria ^ criteria);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.ManagementServer> GetManagementServers (Microsoft.EnterpriseManagement.Administration.ManagementServerCriteria criteria);
member this.GetManagementServers : Microsoft.EnterpriseManagement.Administration.ManagementServerCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.ManagementServer>
Public Function GetManagementServers (criteria As ManagementServerCriteria) As ReadOnlyCollection(Of ManagementServer)

Parameters

criteria
ManagementServerCriteria

Criteria.

Returns

ReadOnlyCollection<ManagementServer>

Zero or more ManagementServer instances.

Examples

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

Applies to

GetManagementServers(IList<Guid>)

Get management server by computer criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ GetManagementServers(System::Collections::Generic::IList<Guid> ^ computerIds);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.ManagementServer> GetManagementServers (System.Collections.Generic.IList<Guid> computerIds);
member this.GetManagementServers : System.Collections.Generic.IList<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Administration.ManagementServer>
Public Function GetManagementServers (computerIds As IList(Of Guid)) As ReadOnlyCollection(Of ManagementServer)

Parameters

computerIds
IList<Guid>

Computer ids.

Returns

ReadOnlyCollection<ManagementServer>

Zero or more ManagementServer instances.

Applies to