创建一个进程外WEB应用程序

Create an Out-of-Process Application in a Web Directory

Description
Creates an out-of-process Web application in the W3SVC/2142295254/root/aspnet_client_folder directory.

Supported Platforms
Windows Server 2003 Yes
Windows XP Yes
Windows 2000 Yes
Windows NT 4.0 No
Windows 98 No

Script Code

Const OUT_OF_PROCESS = 1
 
strComputer = objNetwork.ComputerName
Set objIIS = GetObject _
    ("IIS://" & strComputer & "/W3SVC/2142295254/root/aspnet_client_folder")

objIIS.AppCreate2 OUT_OF_PROCESS

发表评论