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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.