CreateApplicationPool Method (WMI)
Creates an application pool with default settings for Report Manager.
Syntax
Public Sub CreateDefaultApplicationpool(Name as String, ByRef HRESULT as Int32)
public void CreateDefaultApplicationpool (string Name, out sint32 HRESULT);
Parameters
- Name
A string that contains the name of the virtual directory for the application pool. This name must comply with the standards set by Microsoft 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.
Замечания
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 |
Shut down 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\Admin
Platform: Windows Server 2003 Datacenter Edition; Windows Server 2003 Enterprise Edition; Windows Server 2003 Standard Edition; Windows Vista; Windows XP Professional с пакетом обновления 2 (SP2) или 1 (SP1) или Windows 2000 (все версии)
См. также
Справочник
MSReportServer_ConfigurationSetting Members
MSReportServer_ConfigurationSettingForSharePoint Members