RemoveStorageUnitRef
The RemoveStorageUnitRef method makes a persistent reference invalid in the currently focused value.
ODStorageUnit RemoveStorageUnitRef (
in ODStorageUnitRef aRef);
aRef
- The persistent reference to be removed.
- return value
- A reference to this storage unit.
DISCUSSION
This method does not change the data in the currently focused value, but after this method is called, the specified persistent reference is no longer valid. To remove data corresponding to the persistent reference, you must call the DeleteValue method.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnitRef type (page 903).
The ODStorageUnit::DeleteValue method (page 680).