IsValidStorageUnitRef
The IsValidStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is valid.
ODBoolean IsValidStorageUnitRef (in ODStorageUnitRef ref);
ref
- The persistent reference to be tested.
- return value
-
kODTrue if the specified persistent reference is valid, otherwise kODFalse.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- The focus context of this storage-unit view is not a value.
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the FocusWithCursor method of that storage unit.
SEE ALSO
The ODStorageUnitRef type (page 903).