IsWeakStorageUnitRef
The IsWeakStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is a weak persistent reference.
ODBoolean IsWeakStorageUnitRef (in ODStorageUnitRef ref);
ref
- The persistent reference to be tested (assumed to be valid).
- return value
-
kODTrue if the specified reference is a weak persistent reference, otherwise kODFalse.
DISCUSSION
Before calling this method, you can call the IsValidStorageUnitRef method to check whether the specified persistent reference is valid.
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).
The ODStorageUnitView::GetWeakStorageUnitRef method (page 747).
The ODStorageUnitView::IsStrongStorageUnitRef method (page 751).
The ODStorageUnitView::IsValidStorageUnitRef method (page 752).