Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Add

Creates a data extension and returns an initialized DataExtension object.

Add(1)

OrdinalTypeDescription
1ObjectRequired. An object that specifies the properties of the new data extension.

This code example creates a sendable data extension that contains four fields. The field SubKey is associated with the contact’s subscriber key.

For information about specifying data extension fields, see Fields.Add.