Description Returns the number of bytes of stored in a McDBNode for the underlying Data.
-
Return Type
-
A Boolean value. A Long with count of bytes. Failure Returns -1.. Failure conditions: Implementation defined.
-
Syntax
-
object.NodeGetDataSize (sDisplayName, pOverridden, pdatanodesCaller, plNodesLeft, pNode, sFileFolderPath, ecbOfWhat, plSizeBytes)
The NodeGetDataSize Method syntax has these parts: |
| object | An expression evaluating to an object of type McDataHandler. | | sDisplayName | Required. A String value. | | pOverridden | Required. An IUnknown object. | | pdatanodesCaller | Required. A McDataNodes object. | | plNodesLeft | Required. A Long value. | | pNode | Required. A McDBNode object. | | sFileFolderPath | Required. A String value. | | ecbOfWhat | Required. A mcDataCountBytes enumeration, as described in settings. | | plSizeBytes | Required. A Long value. | Settings The settings for ecbOfWhat are:
 | mcdatcb_ActualData | 0 |
Dereferenced (amount of storage for serialized object itself).
|
 | mcdatcb_DataStorage | 1 |
Storage displacement (actually stored in the database node).
|
Remarks For mcdatcb_ActualData, the McDataHandler should return the natural size of the object stored.
For mcdatcb_DataStorage, the McDataHandler should return the actual size of the object stored
for the object. In both cases any storage overhead used by the database should be ignored.
|