IIsComputer.DeleteBackup (WMI)
The DeleteBackup method deletes a metabase backup from a backup location.
objIIsComputer.DeleteBackup(
BackupLocation,
BackupVersion
)
Parameters
BackupLocation
[in] String containing the location. If an empty string is specified, the default backup location will be used.BackupVersion
[in] Long integer containing the version number to delete. Must be less than or equal to MD_BACKUP_MAX_VERSION (9999). Can be set to MD_BACKUP_HIGHEST_VERSION (0xfffffffe) which automatically selects the highest version. These constants are defined in the Mddefw.h header file.
Return Values
This method has no return values.
Requirements
Server: Requires or Windows Server 2003.
Product: IIS