[This is preliminary documentation and subject to change]

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 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.
Can Contain
IIsCertMapperIIsWebVirtualDir
IIsFilters 
Properties
ADSI Object Properties
Metabase Properties
A-Asp... 
AccessFlagsAspEnableParentPaths
AccessSSLFlagsAspEnableTypelibCache
AdminACLAspErrorsToNTLog
AllowKeepAliveAspExceptionCatchEnable
AllowPathInfoForScriptMappingsAspLogErrorRequests
AnonymousPasswordSyncAspProcessorThreadMax
AnonymousUserNameAspQueueConnectionTestTime
AnonymousUserPassAspQueueTimeout
AppAllowClientDebugAspRequestQueueMax
AppAllowDebuggingAspScriptEngineCacheMax
AppFriendlyNameAspScriptErrorSentToBrowser
AppIsolatedAspScriptFileCacheSize
AppOopRecoverLimitAspScriptLanguage
AppPackageIDAspSessionMax
AppPackageNameAspScriptTimeout
AppRootAspSessionTimeout
AppWamClsidAspThreadGateEnabled
AspAllowOutOfProcComponentsAspThreadGateLoadHigh
AspAllowSessionStateAspThreadGateLoadLow
AspBufferingOnAspThreadGateSleepDelay
AspCodepageAspThreadGateSleepMax
AspEnableApplicationRestartAspThreadGateTimeSlice
AspEnableAspHtmlFallbackAspTrackThreadingModel
AspEnableChunkedEncoding 
  
Auth...-I 
AuthFlagsCPUResetInterval
AuthPersistenceCreateCGIWithNewConsole
CacheControlCustomCreateProcessAsUser
CacheControlMaxAgeDefaultDoc
CacheControlNoCacheDefaultDocFooter
CacheISAPIDefaultLogonDomain
CGITimeoutDirBrowseFlags
ConnectionTimeoutDisableSocketPooling
CPUAppEnabledDontLog
CPUCGIEnabledEnableDocFooter
CPULimitLogEventEnableReverseDns
CPULimitPauseFrontPageWeb
CPULimitPriorityHttpCustomHeaders
CPULimitProcStopHttpErrors
CPULimitsEnabledHttpExpires
CPULoggingIntervalHttpPics
CPULoggingMaskHttpRedirect
CPULoggingOptionsIPSecurity
  
Log... 
LogExtFileFlagsLogOdbcPassword
LogFileDirectoryLogOdbcTableName
LogFileLocaltimeRolloverLogOdbcUserName
LogFilePeriodLogonMethod
LogFileTruncateSizeLogPluginClsid
LogOdbcDataSourceLogType
  
M-U 
MaxBandwidthRedirectHeaders
MaxBandwidthBlockedScriptMaps
MaxConnectionsSecureBindings
MaxEndpointConnectionsServerAutoStart
MimeMapServerBindings
NetLogonWorkstationServerComment
NotDeletableServerListenBacklog
NTAuthenticationProvidersServerListenTimeout
PasswordCacheTTLServerSize
PasswordChangeFlagsServerState
PasswordExpirePrenotifyDaysSSIExecDisable
PoolIdcTimeoutUNCAuthenticationPassThrough
ProcessNTCRIfLoggedOnUploadReadAheadSize
PutReadSizeUseHostName
Realm 
 
Methods
ContinueResumes the server.
PausePauses the server.
StartStarts the server.
StatusRetrieves the current status of the server.
StopStops the server.
 
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.