IIsWebServer

You can use the IIsWebServer object to set metabase properties that apply to a specific Web virtual server, and to set inheritable metabase properties for Web virtual directories, Web directories, and Web files. Specific methods are also available to control server operation. Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.

The IIsWebServer object is an ADSI container object.

ADsPath

IIS://MachineName/W3SVC/n

Where MachineName can be any computer name or "LocalHost".

Syntax

varReturn = objWebServer.{Method}
 

Parts

varReturn
Specifies result value.
ObjWebServer
Refers to the IIS Admin object.
Method
Specifies the method called.

May Contain

IIsCertMapper IIsFilters IIsWebVirtualDir

Properties

ADSI Object Properties

Metabase Properties

A... – Asp...
AccessExecute AppFriendlyName
AccessFlags AppIsolated
AccessNoRemoteExecute AppOopRecoverLimit
AccessNoRemoteRead AppPackageID
AccessNoRemoteScript AppPackageName
AccessNoRemoteWrite AppRoot
AccessRead AppWamClsid
AccessScript AspAllowOutOfProcComponents
AccessSSL AspAllowSessionState
AccessSSL128 AspBufferingOn
AccessSSLFlags AspCodepage
AccessSSLMapCert AspEnableParentPaths
AccessSSLNegotiateCert AspExceptionCatchEnable
AccessSSLRequireCert AspLogErrorRequests
AccessWrite AspMemFreeFactor
AdminACL AspQueueTimeout
AllowKeepAlive AspScriptEngineCacheMax
AllowPathInfoForScriptMappings AspScriptErrorMessage
AnonymousPasswordSync AspScriptErrorSentToBrowser
AnonymousUserName AspScriptFileCacheSize
AnonymousUserPass AspScriptLanguage
AppAllowClientDebug AspScriptTimeout
AppAllowDebugging AspSessionTimeout
 
Auth... – I
AuthAnonymous DirBrowseShowDate
AuthBasic DirBrowseShowExtension
AuthFlags DirBrowseShowLongDate
AuthNTLM DirBrowseShowSize
AuthPersistence DirBrowseShowTime
CacheControlCustom DontLog
CacheControlMaxAge EnableDefaultDoc
CacheControlNoCache EnableDirBrowsing
CacheISAPI EnableDocFooter
CGITimeout EnableReverseDns
ConnectionTimeout FrontPageWeb
CreateCGIWithNewConsole HttpCustomHeaders
CreateProcessAsUser HttpErrors
DefaultDoc HttpExpires
DefaultDocFooter HttpPics
DefaultLogonDomain HttpRedirect
DirBrowseFlags IPSecurity
 
Log...
LogExtFileBytesRecv LogExtFileUriQuery
LogExtFileBytesSent LogExtFileUriStem
LogExtFileClientIp LogExtFileUserAgent
LogExtFileComputerName LogExtFileUserName
LogExtFileCookie LogExtFileWin32Status
LogExtFileDate LogFileDirectory
LogExtFileFlags LogFilePeriod
LogExtFileHttpStatus LogFileTruncateSize
LogExtFileMethod LogOdbcDataSource
LogExtFileProtocolVersion LogOdbcPassword
LogExtFileReferer LogOdbcTableName
LogExtFileServerIp LogOdbcUserName
LogExtFileServerPort LogonMethod
LogExtFileSiteName LogPluginClsId
LogExtFileTime LogType
LogExtFileTimeTaken
 
M – U
MaxBandwidth RedirectHeaders
MaxBandwidthBlocked ScriptMaps
MaxConnections SecureBindings
MaxEndpointConnections ServerAutoStart
MimeMap ServerBindings
NetLogonWorkstation ServerComment
NTAuthenticationProviders ServerListenBacklog
PasswordCacheTTL ServerListenTimeout
PasswordChangeFlags ServerSize
PasswordExpirePrenotifyDays ServerState
PoolIDCTimeout SSIExecDisable
ProcessNTCRIfLoggedOn UNCAuthenticationPassthrough
PutReadSize UploadReadAheadSize
Realm UseHostName

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
Continue Resumes the server
Pause Pauses the server
Start Starts the server
Stop Stops the server