Share via


IIsWebServer (ADSI)

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 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 IIS ADSI container object.

ADsPath

IIS://MachineName/W3SVC/N

where MachineName can be any computer name or LocalHost.

Syntax

varReturn**=** objWebServer.Method

Parameters
  • varReturn
    Specifies result value.
  • ObjWebServer
    Refers to the IIS ADSI object.
  • Method
    Specifies the method called.
Can Contain
IIsCertMapper (ADSI) IIsWebVirtualDir (ADSI)
IIsFilters (ADSI)
Properties

Windows ADSI Object Properties

Metabase Properties
A-Asp...
AccessFlags AspEnableParentPaths
AccessSSLFlags AspEnableTypelibCache
AdminACL AspErrorsToNTLog
AllowKeepAlive AspExceptionCatchEnable
AllowPathInfoForScriptMappings AspLogErrorRequests
AnonymousPasswordSync AspProcessorThreadMax
AnonymousUserName AspQueueConnectionTestTime
AnonymousUserPass AspQueueTimeout
AppAllowClientDebug AspRequestQueueMax
AppAllowDebugging AspScriptEngineCacheMax
AppFriendlyName AspScriptErrorSentToBrowser
AppIsolated AspScriptFileCacheSize
AppOopRecoverLimit AspScriptLanguage
AppPackageID AspSessionMax
AppPackageName AspScriptTimeout
AppRoot AspSessionTimeout
AppWamClsid AspThreadGateEnabled
AspAllowOutOfProcComponents AspThreadGateLoadHigh
AspAllowSessionState AspThreadGateLoadLow
AspBufferingOn AspThreadGateSleepDelay
AspCodepage AspThreadGateSleepMax
AspEnableApplicationRestart AspThreadGateTimeSlice
AspEnableAspHtmlFallback AspTrackThreadingModel
AspEnableChunkedEncoding
Auth...-I
AuthFlags CreateProcessAsUser
AuthPersistence DefaultDoc
CacheControlCustom DefaultDocFooter
CacheControlMaxAge DefaultLogonDomain
CacheControlNoCache DirBrowseFlags
CacheISAPI DisableSocketPooling
CGITimeout DontLog
ConnectionTimeout EnableDocFooter
CPULimitLogEvent EnableReverseDns
CPULimitPause FrontPageWeb
CPULimitPriority HttpCustomHeaders
CPULimitProcStop HttpErrors
CPULimitsEnabled HttpExpires
CPUResetInterval HttpPics
CreateCGIWithNewConsole HttpRedirect
IPSecurity
Log...
LogExtFileFlags LogOdbcPassword
LogFileDirectory LogOdbcTableName
LogFileLocaltimeRollover LogOdbcUserName
LogFilePeriod LogonMethod
LogFileTruncateSize LogPluginClsid
LogOdbcDataSource LogType
M-U
MaxBandwidth RedirectHeaders
MaxBandwidthBlocked ScriptMaps
MaxConnections SecureBindings
MaxEndpointConnections ServerAutoStart
MimeMap ServerBindings
NetLogonWorkstation ServerComment
NotDeletable ServerListenBacklog
NTAuthenticationProviders ServerListenTimeout
PasswordCacheTTL ServerSize
PasswordChangeFlags ServerState
PasswordExpirePrenotifyDays SSIExecDisable
PoolIdcTimeout
ProcessNTCRIfLoggedOn UploadReadAheadSize
UseHostName
Realm
Methods
IIsWebServer.Continue (ADSI) Resumes the server.
IIsWebServer.Pause (ADSI) Pauses the server.
IIsWebServer.Start (ADSI) Starts the server.
IIsWebServer.Status (ADSI) Retrieves the current status of the server.
IIsWebServer.Stop (ADSI) Stops the server.
Windows ADSI Object Methods Standard methods for ADSI objects.
Windows ADSI Container Object Methods Standard methods for ADSI container objects.