Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IMSAdminBase::DeleteBackup method deletes a metabase backup from a backup ___location.
HRESULT DeleteBackup(
LPCWSTR pszMDBackupLocation,
DWORD dwMDVersion
);
Parameters
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.
Return Values
Returns an HRESULT that contains one of the following values, or any error from the file system converted to an HRESULT.
Value |
Description |
---|---|
HRESULT_FROM_WIN32(ERROR_INVALID_NAME) |
Specified name is invalid. |
HRESULT_FROM_WIN32(ERROR_NOT_ENOUGH_MEMORY) |
Insufficient memory to perform the operation. |
S_OK |
The method succeeded. |
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.