CreateApplicationPool Method (WMI MSReportManager_ConfigurationSetting Class)
Creates an application pool with default settings for Report Manager.
Syntax
Public Sub CreateApplicationpool(Name as String, ByRef HRESULT as Int32)
public void CreateApplicationpool (string Name, out Int32 HRESULT);
Parameters
- Name
A string containing the name of the virtual directory for the application pool. This name must conform to the standards set by Internet Information Services (IIS) on the computer and must not already exist.
- HRESULT
[out] Value indicating whether the call succeeded or failed.
Return Value
Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful; an error code indicates the call was not successful.
Osservazioni
This call creates an application pool with the following properties:
Property | Value |
---|---|
Recycle worker process (in minutes) |
Enabled; default value is 1740 minutes |
Recycle worker process (number of requests) |
Disabled |
Recycle worker process at the following times |
Disabled |
Memory limit virtual memory |
Disabled |
Memory limit used memory |
Disabled |
Shutdown worker process after being idle |
Disabled |
Limit the kernel request queue |
Enabled; 4000 |
Enabled CPU monitoring |
Disabled |
Maximum number of worker processes |
1 |
Enable pinging |
Enabled |
Ping worker process every (frequency in seconds) |
30 |
Enable rapid-fail protection |
Enabled |
Failures |
5 |
Time period (time in minutes) |
5 |
Startup time limit – worker process must startup within (time in seconds) |
90 |
Shutdown time limit – worker process must shutdown within (time in seconds) |
90 |
Identity |
Predefined – Network Service |
Requirements
Namespace:root\Microsoft\SqlServer\ReportServer\v9
Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional con Service Pack 2 (SP2) o Service Pack 1 (SP1) oppure Windows 2000 (tutte le versioni)
Vedere anche
Riferimento
MSReportManager_ConfigurationSetting Members