This documentation is archived and is not being maintained.

CreateApplicationPool Method (WMI)

Creates an application pool with default settings for Report Manager.

Public Sub CreateDefaultApplicationpool(Name as String, ByRef HRESULT as Int32)
public void CreateDefaultApplicationpool (string Name, out sint32 HRESULT);

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.

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

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 with Service Pack 2 (SP2) or Service Pack 1 (SP1); or Windows 2000 (all versions)

Show: