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:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static string GetDeliveryContextNameFromDMCreativeID(
DMToken token,
int creativeID,
SqlConnection passedInConnection = null,
SqlTransaction passedInTransaction = null
)
Public Shared Function GetDeliveryContextNameFromDMCreativeID (
token As DMToken,
creativeID As Integer,
Optional passedInConnection As SqlConnection = Nothing,
Optional passedInTransaction As SqlTransaction = Nothing
) As String
public:
static String^ GetDeliveryContextNameFromDMCreativeID(
DMToken^ token,
int creativeID,
SqlConnection^ passedInConnection = nullptr,
SqlTransaction^ passedInTransaction = nullptr
)
static member GetDeliveryContextNameFromDMCreativeID :
token : DMToken *
creativeID : int *
?passedInConnection : SqlConnection *
?passedInTransaction : SqlTransaction
(* Defaults:
let _passedInConnection = defaultArg passedInConnection null
let _passedInTransaction = defaultArg passedInTransaction null
*)
-> string
DMLibrary.EMDocuments.GetDeliveryContextNameFromDMCreativeID = function(token, creativeID, passedInConnection, passedInTransaction);
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:
StringDelivery context name in the format of 'ContextName (IP)'
See Also