IIsWebDirectory

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

You can also use IIsWebDirectory methods to create and manage Web applications in Web directories and subordinate directories. Applications may also be defined and managed in web virtual directories. For more information, see 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.

May Contain

IIsWebDirectory IIsWebFile

Properties

ADSI Object Properties

Metabase Properties

A – Asp...
AccessExecute AppOopRecoverLimit
AccessFlags AppPackageID
AccessNoRemoteExecute AppPackageName
AccessNoRemoteRead AppRoot
AccessNoRemoteScript AppWamClsid
AccessNoRemoteWrite AspAllowOutOfProcComponents
AccessRead AspAllowSessionState
AccessScript AspBufferingOn
AccessSSL AspCodepage
AccessSSL128 AspEnableParentPaths
AccessSSLFlags AspExceptionCatchEnable
AccessSSLMapCert AspLogErrorRequests
AccessSSLNegotiateCert AspMemFreeFactor
AccessSSLRequireCert AspQueueTimeout
AccessWrite AspScriptEngineCacheMax
AnonymousPasswordSync AspScriptErrorMessage
AnonymousUserName AspScriptErrorSentToBrowser
AnonymousUserPass AspScriptFileCacheSize
AppAllowClientDebug AspScriptLanguage
AppAllowDebugging AspScriptTimeout
AppFriendlyName AspSessionTimeout
AppIsolated
 
Auth... – U
AuthAnonymous EnableDefaultDoc
AuthBasic EnableDirBrowsing
AuthFlags EnableDocFooter
AuthNTLM EnableReverseDns
AuthPersistence HttpCustomHeaders
CacheControlCustom HttpErrors
CacheControlMaxAge HttpExpires
CacheControlNoCache HttpPics
ContentIndexed HttpRedirect
CreateCGIWithNewConsole IPSecurity
CreateProcessAsUser LogonMethod
DefaultDoc MimeMap
DefaultDocFooter PoolIDCTimeout
DefaultLogonDomain PutReadSize
DirBrowseFlags Realm
DirBrowseShowDate RedirectHeaders
DirBrowseShowExtension ScriptMaps
DirBrowseShowLongDate SSIExecDisable
DirBrowseShowSize UNCAuthenticationPassthrough
DirBrowseShowTime UploadReadAheadSize
DontLog

Methods

ADSI Object Methods Standard methods for ADSI objects
ADSI Container Object Methods Standard methods for ADSI container objects
Common Object Methods Methods, other than ADSI methods, common to all IIS Admin Objects
AppCreate Creates an application at a specified metabase key
AppDelete Deletes an application definition at a specified key
AppDeleteRecursive Deletes application definitions at a specified key and subordinate keys
AppDisable Disables an application at a specified key
AppDisableRecursive Disables applications at a specified key and subordinate keys
AppEnable Enables an application that was previously disabled at a specified key
AppEnableRecursive Enables applications that were previously disabled at a specified key and subordinate keys
AppGetStatus Retrieves the status of an application
AppUnload Unloads an application at a specified key
AppUnloadRecursive Unloads applications at a specified key and subordinate keys

Remarks

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