다음을 통해 공유


GetCampaignEventType Method

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

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetCampaignEventType ( _
    campaignEventTypeId As Integer _
) As CampaignEventTypeData
'Usage
Dim instance As MarketingWebService
Dim campaignEventTypeId As Integer
Dim returnValue As CampaignEventTypeData

returnValue = instance.GetCampaignEventType(campaignEventTypeId)
[WebMethodAttribute]
public virtual CampaignEventTypeData GetCampaignEventType(
    int campaignEventTypeId
)
[WebMethodAttribute]
public:
virtual CampaignEventTypeData^ GetCampaignEventType(
    int campaignEventTypeId
)
public function GetCampaignEventType(
    campaignEventTypeId : int
) : CampaignEventTypeData

Parameters

  • campaignEventTypeId
    Type: System..::.Int32
    The identifier of the Campaign Event type to retrieve.

Return Value

Type: CampaignEventTypeData
A CampaignEventTypeData instance. A CampaignEventType object describes a Campaign event, and associates with one or more Campaign objects representing the campaigns in the event.

Exceptions

Exception Condition
ArgumentOutOfRangeException

campaignEventTypeId is less than zero.

NotAuthorizedException

The user is not authorized to perform the requested operation.

EntityDoesNotExistException

No item exists with this campaignEventTypeId.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Gets a specified Campaign Event from the system.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace