Description

Set the storage method used when McDBNode.Data content is stored.

Return Type

A Boolean value.   True when value is set successfully.

Syntax

object.SetNodeStorageMethod (pdbnodeData, eNewStorageMethod)

The SetNodeStorageMethod Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataManager.
pdbnodeDataRequired. A McDBNode object. The McDBNode that has just stored content in the Data property.
eNewStorageMethodRequired. A mcDataNodeStorageMethods enumeration, as described in settings. The storage mode used in storing the Data property.

Settings

The settings for eNewStorageMethod are:

ConstantValueDescription
 mcdatnsm_NotSpecified0

No Value. Use default value specified to the database type.

 mcdatnsm_StoreFilepath65536

Store the filename of a file (file must be already saved)

 mcdatnsm_StoreFileData131072

Save the data in the database

 mcdatnsm_StoreCopyFileName262144

Save to a database managed file and store filename in database

 mcdatnsm_All458752

Not a valid value. Use for bit mask of possible values.

Remarks

SetNodeStorageMethod is used to store the read-only StorageMethod value when the McDBNode data is stored. No conversion will occur when this value is set.
Hidden