Starta W3SVC-tjänsten
Microsoft.Windows.InternetInformationServices.6.2.WebServer.StartWebServerService.Task (Task)
Den här aktiviteten startar W3SVC-tjänsten (Windows Internet Information Services Webbserver) om den är stoppad för närvarande.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.WebServer.StartWebServerService.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 W3SVC</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>