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


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

IServerObjectAdmin.CreateMachine Method

Creates a new host machine.

[Visual Basic .NET]
Public Function CreateMachine ( _
) As IServerMachine
[C#]
public IServerMachine CreateMachine (
);
[C++]
HRESULT CreateMachine(
  IServerMachine** Machine
);
[C++]

Parameters Machine [out, retval]
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 CreateMachine method to create a new server machine that you can pass as an argument to the AddMachine method to add new host machines to your GIS server.

See Also

IServerObjectAdmin Interface