[This is preliminary documentation and subject to change]

IIsWebDirectory

The IIsWebDirectory object is used to set metabase properties that apply to one or more Web directories for a Web server. When you use the IIsWebDirectory object to set metabase properties for a Web directory, inheritable properties will apply to all subdirectories and files.

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

The IIsWebDirectory object is an ADSI container object.

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

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 IIsWebDirectory object, usually as a result of a previous GetObject operation.
Method
The object method chosen.
Can Contain
IIsWebDirectoryIIsWebFile
 
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 
AuthFlagsEnableReverseDns
AuthPersistenceHttpCustomHeaders
CacheControlCustomHttpErrors
CacheControlMaxAgeHttpExpires
CacheControlNoCacheHttpPics
CacheISAPIHttpRedirect
ContentIndexedIPSecurity
CPUAppEnabledLogonMethod
CPUCGIEnabledMimeMap
CreateCGIWithNewConsolePoolIdcTimeout
CreateProcessAsUserPutReadSize
DefaultDocRealm
DefaultDocFooterRedirectHeaders
DefaultLogonDomainScriptMaps
DirBrowseFlagsSSIExecDisable
DontLogUNCAuthenticationPassThrough
EnableDocFooterUploadReadAheadSize
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 subkeys.
AppDisableDisables an application at a specified key.
AppDisableRecursiveDisables applications at a specified key and subkeys.
AppEnableEnables an application that was previously disabled at a specified key.
AppEnableRecursiveEnables applications that were previously disabled at a specified key and subkeys.
AppGetStatusRetrieves the status of an application.
AppUnloadUnloads an application at a specified key.
AppUnloadRecursiveUnloads applications at a specified key and 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.

Remarks

Web directories can be nested, and are addressed with the path to the directory, including the directory name (for example .../vdirName/Dir1/Dir1a/Dir1ab, and so on).


© 1997-2001 Microsoft Corporation. All rights reserved.