Description

McDataNodes.AddToNode after adding each mcdbnode.

Syntax

Private Sub object_AfterAddNode(pnoderefSelected, pmcdbnodeNewParent, eAddMethod)

The AfterAddNode Event syntax has these parts:

PartDescription
objectA McDataManager object.
pnoderefSelectedA McDataNodeRef object. The 'Selection' McDataNodeRef containing the McDBNode added.
pmcdbnodeNewParentA McDBNode object. The new McDataNode parent.
eAddMethodA mcDataNodeAddMethods enumeration, as described in settings. The parent linkage method used.

Settings

The settings for eAddMethod are:

ConstantValueDescription
 mcdatnam_Use_Setting0

No value; use the default method.

 mcdatnam_Alias1

Make a dependancy type link with a new name to the supplied node (children are inherited).

 mcdatnam_ShareData2

Make a link with a new name directly to the supplied node's data (children are Not inherited).

 mcdatnam_Copy3

Make a new McDBNode with a new name and an unsynchronized copy of the supplied node's data.

 mcdatnam_CopyQueryResults4

Copy links when the destination database is the link target otherwise mcdatnam_Copy.