EMDocumentsGetCampaignIDFromDMCreativeID Method
|
Alterian Email Manager 6.2.3 SDK Help File
Get the Campaign ID associated with a DM Creative ID.
Method does not require the Campaign to be enabled, but will throw an exception if the Campaign does not exist at all.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int GetCampaignIDFromDMCreativeID(
DMToken token,
int dmCreativeID,
SqlConnection passedInConnection = null,
SqlTransaction passedInTransaction = null
)
Public Shared Function GetCampaignIDFromDMCreativeID (
token As DMToken,
dmCreativeID As Integer,
Optional passedInConnection As SqlConnection = Nothing,
Optional passedInTransaction As SqlTransaction = Nothing
) As Integer
public:
static int GetCampaignIDFromDMCreativeID(
DMToken^ token,
int dmCreativeID,
SqlConnection^ passedInConnection = nullptr,
SqlTransaction^ passedInTransaction = nullptr
)
static member GetCampaignIDFromDMCreativeID :
token : DMToken *
dmCreativeID : int *
?passedInConnection : SqlConnection *
?passedInTransaction : SqlTransaction
(* Defaults:
let _passedInConnection = defaultArg passedInConnection null
let _passedInTransaction = defaultArg passedInTransaction null
*)
-> int
DMLibrary.EMDocuments.GetCampaignIDFromDMCreativeID = function(token, dmCreativeID, passedInConnection, passedInTransaction);
Parameters
- token
- Type: DMToken
Authentication Token - dmCreativeID
- Type: SystemInt32
DM Creative ID - passedInConnection (Optional)
- Type: System.Data.SqlClientSqlConnection
Optional Sql Connection - passedInTransaction (Optional)
- Type: System.Data.SqlClientSqlTransaction
Optional Sql Transaction
Return Value
Type:
Int32An EM Campaign ID
See Also