重新启动所有 IIS 服务

Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.Task (Task)

此任务将停止并重新启动所有 Windows Internet Information Services Internet 服务。

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.ServerRole
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.6.2.IISReset Default

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>