The IMSAdminBase::DeleteAllData method deletes all or a subset of local data associated with a particular key.
HRESULT DeleteAllData(
METADATA_HANDLE hMDHandle, //metabase handle.
LPCWSTR pszMDPath, //path to the key relative to hMDHandle.
DWORD dwMDUserType, //user type of the data.
DWORD dwMDDataType //data type of the data.
);
The IMSAdminBase::DeleteAllData method deletes only data local to the specified key. Any data that the specified key inherits from parent keys in the metabase is not deleted.
This method can affect subkeys of the specified object if those subkeys inherit data from the key specified in the IMSAdminBase::DeleteAllData call.