共用方式為


IMSAdminBase

This section describes the structures, methods, and errors of the IIS Admin Base Object primary interface. The required header files, iadmw.h and iiscnfg.h, are installed with Visual Studio and the Platform SDK.

In This Section

The IMSAdminBase COM interface of the IIS Admin Base Object exposes the following methods.

Method

Description

IMSAdminBase::AddKey

Adds a key to the metabase.

IMSAdminBase::Backup

Backs up the metabase to a backup file.

IMSAdminBase::ChangePermissions

Changes Read/Write permissions on a handle to a key.

IMSAdminBase::CloseKey

Closes a key.

IMSAdminBase::CopyData

Copies or moves data between keys.

IMSAdminBase::CopyKey

Copies or moves a key in the metabase.

IMSAdminBase::DeleteAllData

Deletes all or a subset of the data associated with a key.

IMSAdminBase::DeleteBackup

Deletes a metabase backup from a backup file.

IMSAdminBase::DeleteChildKeys

Deletes all subkeys of a key.

IMSAdminBase::DeleteData

Deletes a data entry.

IMSAdminBase::DeleteKey

Deletes a key from the metabase.

IMSAdminBase::EnumBackups

Enumerates the metabase backups in a backup file.

IMSAdminBase::EnumData

Enumerates the data that is associated with a key, one entry per call.

IMSAdminBase::EnumKeys

Enumerates the subkeys of a key, one subkey per call.

IMSAdminBase::GetAllData

Retrieves all or a subset of the data that is associated with a key.

IMSAdminBase::GetData

Retrieves a data entry.

IMSAdminBase::GetDataPaths

Retrieves all paths of a subtree where a specified identifier exists.

IMSAdminBase::GetDataSetNumber

Retrieves the data set number that is associated with a key.

IMSAdminBase::GetHandleInfo

Retrieves information about a handle.

IMSAdminBase::GetLastChangeTime

Retrieves the last change time for a key.

IMSAdminBase::GetSystemChangeNumber

Retrieves the system change number.

IMSAdminBase::OpenKey

Opens a key.

IMSAdminBase::RenameKey

Renames an existing key.

IMSAdminBase::Restore

Restores the metabase from a backup file.

IMSAdminBase::SaveData

Saves metabase changes to disk.

IMSAdminBase::SetData

Sets a data entry.

IMSAdminBase::SetLastChangeTime

Sets the last change time for a key.

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

Header: Declared in iadmw.h; include iiscnfg.h.

See Also