Add Method (DataMembers Collection)

       

Adds a data member to the DataMembers Collection.

Syntax

object.Add (DataMember)

The Add method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
DataMember Required. A unique string that can be used to identify a specific data member.

Remarks

A data member can be either ADO recordset, an object that implements the OLE Simple Provider (OSP) interface using the Implements statement with the OSP class, or an OLEDB provider created with Visual Basic.