Definition.AddWithDE

Add a send definition that incorporates a sendable data extension

Definition.AddWithDE(1, 2, 3, 4, 5)

OrdinalTypeDescription
1stringRequiredCustomer key, name, and subject line for send definition
2stringRequiredCustomer key for related send classification
3stringRequiredCustomer key for email used in send definition
4stringRequiredCustomer key of sendable data extension used in send definition
5stringRequiredCustomer key of publication list to use with send definition

This sample code adds the send definition with the applicable sendable data extension: