停止 IISADMIN 服务
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StopAdministrationService.Task (Task)
此任务将在当前启动 Windows Internet Information Services 管理 (IISADMIN) 服务时停止该服务。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StopAdministrationService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ServerRole" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ControlService">
<Operation>stop IISADMIN /Y</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>