重新启动所有 IIS 服务
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.Task (Task)
此任务将停止并重新启动所有 Windows Internet Information Services Internet 服务。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.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.IISReset">
<Operation>/RESTART</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>