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.
where MachineName can be any name or "LocalHost."
varReturn = object.Method
IIsFtpService | IIsMimeMap |
IIsLogModules | IIsWebService |
ADSI Object Properties | Standard properties for ADSI objects. |
MaxBandWidth | MimeMap |
MaxBandWidthBlocked |
Backup | Saves the metabase to long-term storage. |
BackupWithPassword | Saves the metabase to long-term storage with an optionally-supplied password. |
DeleteBackup | Deletes a metabase backup from long-term storage. |
EnumBackups | Enumerates metabase backups in long-term storage. |
Restore | Restores a metabase backup from long-term storage. |
RestoreWithPassword | Restores a metabase backup using the same optionally-supplied password given when the BackupWithPassword method was used. |
ADSI Object Methods | Standard methods for ADSI objects. |
ADSI Container Object Methods | Standard methods for ADSI container objects. |