please dont rip this site

AppCreate

You can use the AppCreate method of the IIsWebDirectory object to create a Web application definition and mark it as running in-process or out-of-process. If an application already exists at the specified path, you can use this method to reconfigure the application from in-process to out-of-process or vice versa.

Syntax

IIsWebDirectory.AppCreate InProcFlag 
 

Parameters

InProcFlag
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 InProcFlag matches the application's existing in-process/out-of-process status then this method will cause no change to the application definition.

Code Example

<% 
Dim DirObj 
Const INPROC = True 
Const OUTPROC = False 
Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") 
' Create an application in-process 
DirObj.AppCreate INPROC 
%> 
 

See Also

AppDelete, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppDisableRecursive, AppEnable, AppEnableRecursive


© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/iis/htm/sdk/aoii5zz9.htm, 3KB, , updated: 2002/5/22 16:36, local time: 2025/5/15 11:46,
TOP NEW HELP FIND: 
18.118.147.65:LOG IN

 ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/inet/iis/iis/htm/sdk/aoii5zz9.htm"> AppCreate</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .