Compartilhar via


IIsWebVirtualDir.AppCreate (WMI)

The AppCreate method creates a new Web application, or reconfigures an existing application.

objIIsWebVirtualDir.AppCreate(
      InProcFlag
)

Parameters

  • InProcFlag
    [in] A Boolean that specifies whether the application being created is to run in-process (TRUE) or out-of-process (FALSE). If the application already exists and is running in-process, specifying this flag as FALSE will cause the application definition to be deleted and a new application created to run out-of-process. If the application already exists and is running out-of-process, specifying this flag as TRUE will cause the application definition to be deleted and a new application created to run in-process. If the application exists and the setting of bSetInProcFlag matches the application's existing status, then this method will cause no change to the application definition.

Return Values

This method has no return values.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also