IMSAdminBase2::RestoreHistory
The RestoreHistory method 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.
HRESULT RestoreHistory(
LPWSTR pszMDHistoryLocation,
DWORD pdwMDMajorVersion,
DWORD pdwMDMinorVersion,
DWORD dwMDFlags
);
Parameters
pszMDHistoryLocation
[in] Absolute path of the folder that contains the metabase history files.pdwMDMajorVersion
[in] The major version number of the enumerated history files.pdwMDMinorVersion
[in] The minor version number of the enumerated history files.dwMDFlags
[in] Reserved. Must be zero.
Requirements
Client: Requires or Windows XP Professional.
Server: Requires or Windows Server 2003.
Product: IIS
Header: Declared in iadmw.h; include iiscnfg.h.