[This is preliminary documentation and is subject to change.]

Updates the campaign

Namespace:  OfficeClip.DBLayer.Template
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public void UpdateCampaign(
	int templateId,
	bool isHtml,
	bool isActive,
	string name,
	string description,
	string subject,
	string html,
	string text,
	int loginUserId,
	int emailAccountId,
	bool isRecurring,
	bool isMailMerge,
	int letterheadId
)
Visual Basic (Declaration)
Public Sub UpdateCampaign ( _
	templateId As Integer, _
	isHtml As Boolean, _
	isActive As Boolean, _
	name As String, _
	description As String, _
	subject As String, _
	html As String, _
	text As String, _
	loginUserId As Integer, _
	emailAccountId As Integer, _
	isRecurring As Boolean, _
	isMailMerge As Boolean, _
	letterheadId As Integer _
)
Visual C++
public:
void UpdateCampaign(
	int templateId, 
	bool isHtml, 
	bool isActive, 
	String^ name, 
	String^ description, 
	String^ subject, 
	String^ html, 
	String^ text, 
	int loginUserId, 
	int emailAccountId, 
	bool isRecurring, 
	bool isMailMerge, 
	int letterheadId
)

Parameters

templateId
Type: System..::.Int32
The unique id of the tempalte
isHtml
Type: System..::.Boolean
True if the template is an html template
isActive
Type: System..::.Boolean
True if the template is active
name
Type: System..::.String
The name of the template
description
Type: System..::.String
The description of the template
subject
Type: System..::.String
The subject of the template
html
Type: System..::.String
The html of the template
text
Type: System..::.String
The text of the template
loginUserId
Type: System..::.Int32
The login user unique id
emailAccountId
Type: System..::.Int32
Teh email account unique id
isRecurring
Type: System..::.Boolean
True if the template is recurring
isMailMerge
Type: System..::.Boolean
Shows if the template is a mail merge template
letterheadId
Type: System..::.Int32
The unique id of the letterhead associated with the letterhead

See Also