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