This section describes the methods of the IIS Admin Base Object IMSAdminBase2 interface, which inherits the IMSAdminBase interface. The required header files, iadmw.h and iiscnfg.h, are installed with Visual Studio and the IIS Software Developer Kit.
IIS 5.0 and earlier: This interface is not available.
The IMSAdminBase2 COM interface of the IIS Admin Base Object exposes the following methods. The methods of the IMSAdminBase interface are also available.
Backs up the metabase to a backup file. The backup is encrypted with a specified password instead of with the machine key.
Restores the metabase from a backup file. The restoration requires the same password that was used to encrypt the backup file.
Exports a section of the IIS metabase to a file for importing to the same IIS server or a different IIS server. Machine-specific and system-specific information is omitted from the export file.
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. Machine-specific and system-specific information is omitted from the export file.
Restores the entire metabase from a set of history files that are periodically created by IIS. You can only use history files that were created on the same computer.
Enumerates metabase history files that are stored in one or more backup locations, retrieving the location, version number, and date of each automated backup.