Stop

The Stop method of the IIsWebServer object stops the server operation.

Syntax

IIsWebServer.Stop

 

Code Example
<% 
  Dim ServerObj 
  'Stop the second Web server. 
  Set ServerObj = GetObject("IIS://LocalHost/W3SVC/2" 
  ServerObj.Stop 
%> 
 
See Also

Start, Pause, Continue, Status