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

IServerObjectAdmin.DeleteMachine 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.DeleteMachine Method
ArcGIS Developer Help

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 _
public void DeleteMachine (
    string MachineName
HRESULT DeleteMachine(
  BSTR MachineName
MachineName [in]

MachineName is a parameter of type BSTR

Product Availability

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


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