IGPMBackup::Delete method (gpmgmt.h)

Removes the Group Policy object (GPO) backup from the backup directory and from the file system.

Syntax

HRESULT Delete();

Return value

JScript

Returns S_OK if successful. Returns a failure code if an error occurs.

VB

Returns S_OK if successful. Returns a failure code if an error occurs.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPMBackup

IGPMBackupCollection

IGPMBackupDir