Platform SDK: Group Policy |
Deletes the GPO.
HRESULT Delete( );
If the function succeeds, the return value is S_OK. Otherwise, the function returns one of the COM error codes defined in the Platform SDK header file WinError.h.
After calling this method, you cannot call other methods because all data has been deleted.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Gpedit.h.
Group Policy Overview, Group Policy Interfaces, IGroupPolicyObject