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 _
)
[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