Share via


GetCampaignEventType Method

Retrieves an existing CampaignEventType., as identified by the Event Type's unique identifier.

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

Syntax

'Declaration
Public Function GetCampaignEventType ( _
    campaignEventTypeId As Integer _
) As CampaignEventType
'Usage
Dim instance As CampaignManager
Dim campaignEventTypeId As Integer
Dim returnValue As CampaignEventType

returnValue = instance.GetCampaignEventType(campaignEventTypeId)
public CampaignEventType GetCampaignEventType(
    int campaignEventTypeId
)
public:
CampaignEventType^ GetCampaignEventType(
    int campaignEventTypeId
)
public function GetCampaignEventType(
    campaignEventTypeId : int
) : CampaignEventType

Parameters

Return Value

Type: Microsoft.CommerceServer.Marketing..::.CampaignEventType
The CampaignEventType associated with the campaignEventTypeId, retrieved from the database.

Remarks

Use this method to retrieve a specific CampaignEventType.

Permissions

See Also

Reference

CampaignManager Class

CampaignManager Members

Microsoft.CommerceServer.Marketing Namespace