EMDocumentsGetDeliveryContextNameFromDMCreativeID Method

Alterian Email Manager 6.2.3 SDK Help File
Retrieves The Delivery Context associated to the DM Creative's Category ID. If no Delivery Context is associated then it will try to return the client's default delivery context

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static string GetDeliveryContextNameFromDMCreativeID(
	DMToken token,
	int creativeID,
	SqlConnection passedInConnection = null,
	SqlTransaction passedInTransaction = null
)

Parameters

token
Type: DMToken
Authentication token
creativeID
Type: SystemInt32
DM Creative ID of the EM Campaign
passedInConnection (Optional)
Type: System.Data.SqlClientSqlConnection
Optional Existing Sql Connection to use
passedInTransaction (Optional)
Type: System.Data.SqlClientSqlTransaction
Optional Existing Sql Transaction to use

Return Value

Type: String
Delivery context name in the format of 'ContextName (IP)'
See Also