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
- campaignEventTypeId
Type: System..::.Int32
Id of the CampaignEventType to retrieve.
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
- 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.