[This is preliminary documentation and subject to change]

IIsWebVirtualDir

You can use the IIsWebVirtualDir object to set metabase properties that apply to one or all virtual directories for a Web site. If you use the IIsWebVirtualDir object at the server's ROOT directory (.../W3SVC/2/ROOT), inheritable property values will apply to all virtual subdirectories. You can set properties for a specific virtual directory by using the IIsWebVirtualDir object for a specific virtual directory (.../W3SVC/2/ROOT/AVdir).

You can also use IIsWebVirtualDir methods to create and manage Web applications in Web virtual directories and virtual subdirectories. Applications can also be defined and managed in Web directories. See IIsWebDirectory.

The IIsWebVirtualDir object is an ADSI container object.

ADsPath

For the server's root virtual directory,

IIS://MachineName/W3SVC/N/ROOT

where MachineName can be any name or "LocalHost."

For a specific virtual directory,

IIS://MachineName/W3SVC/N/ROOT/vdirName

where MachineName can be any name or "LocalHost."

Syntax

varReturn=object.Method

 

Parts
varReturn
A variable that receives the return value from the method.
object
A variable that contains the IIsWebVirtualDir object, usually as a result of a previous GetObject operation.
Method
The object method chosen.
Can Contain
IIsWebVirtualDirIIsWebFile
IIsWebDirectory 
Properties
ADSI Object Properties

Metabase Properties

A-Asp... 
AccessFlagsAspErrorsToNTLog
AccessSSLFlagsAspExceptionCatchEnable
AnonymousPasswordSyncAspLogErrorRequests
AnonymousUserNameAspProcessorThreadMax
AnonymousUserPassAspQueueConnectionTestTime
AppAllowClientDebugAspQueueTimeout
AppAllowDebuggingAspRequestQueueMax
AppFriendlyNameAspScriptEngineCacheMax
AppIsolatedAspScriptErrorMessage
AppOopRecoverLimitAspScriptErrorSentToBrowser
AppPackageIDAspScriptFileCacheSize
AppPackageNameAspScriptLanguage
AppRootAspScriptTimeout
AppWamClsidAspSessionMax
AspAllowOutOfProcComponentsAspSessionTimeout
AspAllowSessionStateAspThreadGateEnabled
AspBufferingOnAspThreadGateLoadHigh
AspCodepageAspThreadGateLoadLow
AspEnableApplicationRestartAspThreadGateSleepDelay
AspEnableAspHtmlFallbackAspThreadGateSleepMax
AspEnableChunkedEncodingAspThreadGateTimeSlice
AspEnableParentPathsAspTrackThreadingModel
AspEnableTypelibCache 
  
Auth...-U 
AuthFlagsHttpErrors
AuthPersistenceHttpExpires
CacheControlCustomHttpPics
CacheControlMaxAgeHttpRedirect
CacheControlNoCacheIPSecurity
CacheISAPILogonMethod
ContentIndexedMimeMap
CPUAppEnabledPath
CPUCGIEnabledPoolIdcTimeout
CreateCGIWithNewConsolePutReadSize
CreateProcessAsUserRealm
DefaultDocRedirectHeaders
DefaultDocFooterScriptMaps
DefaultLogonDomainSSIExecDisable
DirBrowseFlagsUNCAuthenticationPassThrough
DontLogUNCPassword
EnableDocFooterUNCUserName
EnableReverseDnsUploadReadAheadSize
HttpCustomHeaders 
Methods
AppCreateCreates an application at a specified metabase key (parameter is a Boolean).
AppCreate2Creates an application at a specified metabase key (parameter is a Long).
AppDeleteDeletes an application definition at a specified key.
AppDeleteRecursiveDeletes application definitions at a specified key and its subkeys.
AppDisableDisables an application at a specified key.
AppDisableRecursiveDisables applications at a specified key and its subkeys.
AppEnableEnables an application that was previously disabled at a specified key.
AppEnableRecursiveEnables applications that were previously disabled at a specified key and its subkeys.
AppGetStatusRetrieves the status of an application.
AppUnloadUnloads an application at a specified key.
AppUnloadRecursiveUnloads applications at a specified key and its subkeys.
AspAppRestartThis method restarts the ASP application that invoked it.
See Also
ADSI Object MethodsStandard methods for ADSI objects.
ADSI Container Object MethodsStandard methods for ADSI container objects.

© 1997-2001 Microsoft Corporation. All rights reserved.