NewCampaignEventType Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a new CampaignEventType.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Function NewCampaignEventType As CampaignEventType
'Usage
Dim instance As CampaignManager
Dim returnValue As CampaignEventType

returnValue = instance.NewCampaignEventType()
public CampaignEventType NewCampaignEventType()
public:
CampaignEventType^ NewCampaignEventType()
public function NewCampaignEventType() : CampaignEventType

Return Value

Type: Microsoft.CommerceServer.Marketing..::.CampaignEventType
The newly created CampaignEventType object.

Remarks

Creates a new instance of CampaignEventType class with the default parameters;

  • Id = 0.

  • Name = String.Empty.

  • Description = String.Empty.

  • IsSchedulable = true.

Permissions

See Also

Reference

CampaignManager Class

CampaignManager Members

Microsoft.CommerceServer.Marketing Namespace