ArcObjects Library Reference  (Server)    

IServerObjectAdmin.GetMachines Method

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

[Visual Basic 6.0]
Function GetMachines As IEnumServerMachine
[Visual Basic .NET]
Public Function GetMachines ( _
) As IEnumServerMachine
[C#]
public IEnumServerMachine GetMachines (
);
[Java]
public IEnumServerMachine getMachines (
)
throws
    IOException,
    AutomationException
[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