IIsComputer (ADSI)

IIS 6.0

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.

IIS:// MachineName

where MachineName can be any name or LocalHost.

varReturn=object.Method

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.

Windows ADSI Object Properties

Standard properties for ADSI objects.

IIsComputer.Backup (ADSI)

Saves the metabase to long-term storage.

IIsComputer.BackupWithPassword (ADSI)

Saves the metabase to long-term storage with an optionally supplied password.

NoteNote:
This method is only available on IIS 5.1 and later.

IIsComputer.DeleteBackup (ADSI)

Deletes a metabase backup from long-term storage.

IIsComputer.EnumBackups (ADSI)

Enumerates metabase backups in long-term storage.

IIsComputer.Export (ADSI)

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.

NoteNote:
This method is only available on IIS 5.1 and later.

IIsComputer.Import (ADSI)

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.

NoteNote:
This method is only available on IIS 5.1 and later.

IIsComputer.Restore (ADSI)

Restores a metabase backup from long-term storage.

IIsComputer.RestoreWithPassword (ADSI)

Restores a metabase backup using the same optionally supplied password given when the BackupWithPassword method was used.

NoteNote:
This method is only available on IIS 5.1 and later.

IIsComputer.SaveData (ADSI)

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.

NoteNote:
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.

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

Show: