停止 FTP 服務
Microsoft.Windows.InternetInformationServices.6.2.FTPServer.StopFTPServerService.Task (Task)
此工作將停止目前已啟動的 FTP 服務。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.FTPServer.StopFTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.FTPServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ControlService">
<Operation>stop ftpsvc</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>