次の方法で共有


IMSAdminBase2

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.

In This Section

The IMSAdminBase2 COM interface of the IIS Admin Base Object exposes the following methods. The methods of the IMSAdminBase interface are also available.

Method

Description

IMSAdminBase2::BackupWithPasswd

Backs up the metabase to a backup file. The backup is encrypted with a specified password instead of with the machine key.

IMSAdminBase2::RestoreWithPasswd

Restores the metabase from a backup file. The restoration requires the same password that was used to encrypt the backup file.

IMSAdminBase2::Export

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.

IMSAdminBase2::Import

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.

IMSAdminBase2::RestoreHistory

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.

IMSAdminBase2::EnumHistory

Enumerates metabase history files that are stored in one or more backup locations, retrieving the location, version number, and date of each automated backup.

See Also

Concepts

IMSAdminBase Structures