ArcObjects Library Reference (Server)  

IServerObjectAdmin.DeleteMachine Method

Deletes a host machine from the GIS server, making it unavailable to host server objects.

[Visual Basic .NET]
Public Sub DeleteMachine ( _
    ByVal MachineName As String _
)
[C#]
public void DeleteMachine (
    string MachineName
);
[C++]
HRESULT DeleteMachine(
  BSTR MachineName
);
[C++]

Parameters

MachineName [in]   MachineName is a parameter of type BSTR

Product Availability

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

Remarks

The DeleteMachine method removes a machine from the machines that can host server objects for the GIS server. When you delete a machine, any instances of server objects that are running on that machine will be shut down and replaced with instances running on the GIS server's other host machines.

See Also

IServerObjectAdmin Interface