Add Method (DEDesigner Extensibility)

       

Adds a member to a DECommands or DEConnections collection.

Syntax

object.Add(string, Boolean)

The Add property syntax has these parts:

Part Description
object An object expression that evaluates to an item in the Applies To list.
string This specifies a unique name for the DEConnection or DECommand object.

Note   If the name already exists in the collection, an error occurs and a DEConnection or DECommand object is not added.

Boolean Optional. A Boolean expression that specifies whether the Command or Connection Properties dialog box displays after the object is added to the Data Environment.

Remarks

For the DEAggregates, DEGroupingFields, and DERelationConditions collections, the Boolean is not used. Thus, for these three collections, the Add method is the same as Visual Basic's Add method.