Stop SMTP Service
Microsoft.Windows.InternetInformationServices.2008.LegacySMTPServer.StopSMTPServerService.Task (Task)
This task will stop the Windows Internet Information Services SMTP Server (SMTPSVC) Service when it is currently started.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.2008.LegacySMTPServer.StopSMTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2008.LegacySMTPServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.2008.ControlService">
<Operation>stop SMTPSVC</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>