This document is archived and information here might be outdated.  Recommended version.


IServerObjectAdmin.GetMachines Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IServerObjectAdmin.GetMachines Method

An enumerator over all the GIS server's host machines.

[Visual Basic .NET]
Public Function GetMachines ( _
) As IEnumServerMachine
[C#]
public IEnumServerMachine GetMachines (
);
[C++]
HRESULT GetMachines(
  IEnumServerMachine** machines
);
[C++]

Parameters machines [out, retval]
machines is a parameter of type IEnumServerMachine

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

A server object configuration can be configured such that its server objects run on one or more host machines that have been added to the ArcGIS Server. Use the GetMachines method to get the names of the machines that have been added to the server to host server objects.

See Also

IServerObjectAdmin Interface