Gets or sets the version of the .NET Framework that is used for managed applications in the current application pool.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
Current valid values are "v2.0" and "v1.1". Additional values will be accepted when new versions of the .NET Framework are installed on the IIS server.
You can use this property to configure the managed runtime version of the current application pool. To set default values for all application pools on the server, use the ApplicationPoolDefaults object.