This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.DeleteMachine Method (ArcObjects .NET 10.5 SDK) |
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
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.