Partager via


IIsWebVirtualDir.AppCreate2 (WMI)

The AppCreate2 method creates a new Web application that will run in-process, out-of-process, or in a process pool, or reconfigures an existing application.

objIIsWebVirtualDir.AppCreate2(
      AppMode
)

Parameters

  • AppMode
    [in] Long integer that specifies whether the application being created is to run in-process (0), out-of-process (1), or in a pooled process (2). If the application already exists and is running, changing the value of this flag will cause the application definition to be deleted and a new application created to run in the specified process space.

Return Values

This method has no return values.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also