AutoShutdownAppPoolParams Metabase Property (IIS 6.0)
The AutoShutdownAppPoolParams property specifies any command-line parameters for the executable that is specified in the AutoShutdownAppPoolExe Metabase Property. You can use these two properties in the following way to send e-mail, for example, when the World Wide Web Publishing Service (WWW service) shuts down an application pool for rapid fail protection:
AutoShutdownAppPoolExe = "C:\LogAndSendMail.bat"
AutoShutdownAppPoolParams = "-AppPoolName %1%"
where %1% represents the application pool name.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.