[This is preliminary documentation and subject to change]

IIsComputer

You can use the IIsComputer object to set values of global metabase properties that determine how IIS operates. The IIsComputer object also provides methods to manage metabase backups. You can use these methods to store multiple backup versions in long-term storage, restore the metabase from a backup version of your choice, and enumerate and delete backups.

The IIsComputer object is an ADSI container object.

ADsPath
IIS://MachineName

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 IIsComputer object, usually as a result of a previous GetObject operation.
Method
The object method chosen.
Can Contain
IIsFtpServiceIIsMimeMap
IIsLogModulesIIsWebService

Properties
ADSI Object PropertiesStandard properties for ADSI objects.

Metabase Properties
MaxBandwidthMimeMap
MaxBandwidthBlocked 

Methods
BackupSaves the metabase to long-term storage.
BackupWithPasswordSaves the metabase to long-term storage with an optionally-supplied password.
DeleteBackupDeletes a metabase backup from long-term storage.
EnumBackupsEnumerates metabase backups in long-term storage.
RestoreRestores a metabase backup from long-term storage.
RestoreWithPasswordRestores a metabase backup using the same optionally-supplied password given when the BackupWithPassword method was used.

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.