Поделиться через


IIsFtpServer.Stop (ADSI)

The Stop method stops the server operation.

objIIsFtpServer.Stop

Parameters

This method has no parameters.

Return Values

This method has no return values.

Example Code

<%  
  Dim ServerObj  
  'Stop the second FTP server.  
  Set ServerObj = GetObject("IIS://LocalHost/MSFTPSVC/2")  
  ServerObj.Stop  
%>  

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also

Concepts

IIsFtpServer (ADSI)

Using ADSI to Configure IIS