Gets or sets the period of time that IIS 7 waits before it considers a connection inactive and terminates it.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
You can see and modify the property in the Advanced Settings dialog box in IIS Manager.
When you set the property, you need to call the ServerManager..::..CommitChanges method to persist the change to the ApplicationHost.config file.
The following example checks the value of the property. If the property value is greater than 300 seconds, the example resets to 2 minutes. This code example is part of a larger example provided for the SiteLimits class.