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


IServerObjectAdmin.AddMachine Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.AddMachine Method
ArcGIS Developer Help

IServerObjectAdmin.AddMachine Method

Adds a host machine (created with CreateMachine) to the GIS server.

[Visual Basic .NET]
Public Sub AddMachine ( _
    ByVal Machine As IServerMachine _
)
[C#]
public void AddMachine (
    IServerMachine Machine
);
[C++]
HRESULT AddMachine(
  IServerMachine* Machine
);
[C++]
Parameters
Machine [in]

Machine is a parameter of type IServerMachine*

Product Availability

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

Remarks

ArcGIS Server is a distributed system. Server objects managed by the GIS server run on one or more host machines. A machine that can host server objects must have the Server Object Container installed on it, and the machine must be added to the list of host machines managed by the Server Object Manager (SOM).

Use the AddMachine method to add new host machines to your GIS server. Once a machine has been added to the GIS server, as new server object instances are created, the SOM will make use of the new machine.

See Also

IServerObjectAdmin Interface