Description

Validates a node name for valid characters and optionally for uniqueness against a McDBNodes collection.

Return Type

A String value.   A valid name for the new McDBNode.

Syntax

object.CheckNodeName (sName, [pdbnodesSibblings])

The CheckNodeName Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataManager.
sNameRequired. A String value. The proposed new name.
pdbnodesSibblingsOptional. A McDBNodes object. The proposed McDBNodes collection to which the name would be added. When not specified or Nothing is specified, the McDBnodes uniqueness test is not performed.

Remarks

Invalid characters are stripped.
A Serial number (starting with 2) is added to the name when the name already exists in the pdbnodesSibblings collection (ex: ABC CountSize(2)).