Definition.AddWithDE
Add a send definition that incorporates a sendable data extension
Definition.AddWithDE(1, 2, 3, 4, 5)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Customer key, name, and subject line for send definition |
| 2 | string | Required | Customer key for related send classification |
| 3 | string | Required | Customer key for email used in send definition |
| 4 | string | Required | Customer key of sendable data extension used in send definition |
| 5 | string | Required | Customer key of publication list to use with send definition |
This sample code adds the send definition with the applicable sendable data extension: