Export (0) Print
Expand All

IMSAdminBase::DeleteBackup

IIS 6.0

The IMSAdminBase::DeleteBackup method deletes a metabase backup from a backup location.

HRESULT DeleteBackup(
   LPCWSTR pszMDBackupLocation,
   DWORD dwMDVersion
);

pszMDBackupLocation

A string of up to MD_BACKUP_MAX_LEN Unicode characters that identifies the backup location.

dwMDVersion

Specifies the version number of the backup to be deleted from the backup location, or can be the following constant:

Constant

Description

MD_BACKUP_HIGHEST_VERSION

Delete the highest existing backup version in the specified backup location.

Returns an HRESULT that contains one of the following values, or any error from the file system converted to an HRESULT.

Value

Description

S_OK

The method succeeded.

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.

Show:
© 2014 Microsoft