ManagementGroupAdministration.GetManagementServers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
Zero or more ManagementServer instances.