啟動 WAS 服務
Microsoft.Windows.InternetInformationServices.6.2.WebServer.StartWASService.Task (Task)
此工作將會啟動目前已停止的 Windows 處理序啟用服務 (WAS)。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.WebServer.StartWASService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ControlService">
<Operation>start WAS</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>