IIsComputer (ADSI)
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, to restore the metabase from a backup version of your choice, and to 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
Parameters
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
Properties
Windows ADSI Object Properties |
Standard properties for ADSI objects. |
Metabase Properties
Methods
Saves the metabase to long-term storage. |
|
Saves the metabase to long-term storage with an optionally supplied password. Note This method is only available on IIS 5.1 and later. |
|
Deletes a metabase backup from long-term storage. |
|
Enumerates metabase backups in long-term storage. |
|
Exports a section of the IIS metabase to a file for importing to the same IIS server or a different IIS server. The export file does not include machine-specific or system-specific data such as certain paths, GUIDs, passwords, and accounts. Note This method is only available on IIS 5.1 and later. |
|
Imports a section of an IIS metabase from an export file that has been created on the same IIS server or a different IIS server. The export file does not include machine-specific or system-specific data such as certain paths, GUIDs, passwords, and accounts. Note This method is only available on IIS 5.1 and later. |
|
Restores a metabase backup from long-term storage. |
|
Restores a metabase backup using the same optionally supplied password given when the BackupWithPassword method was used. Note This method is only available on IIS 5.1 and later. |
|
Triggers IIS to create a set of history files (configuration data and schema) that back up the entire IIS metabase. History files can only be restored to the computer on which the files were created. Note This method is only available on IIS 5.1 and later. |
|
Windows ADSI Object Methods |
Standard methods for ADSI objects. |
Windows ADSI Container Object Methods |
Standard methods for ADSI container objects. |
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS