DeleteCampaignEventType Method
Deletes a CampaignEventType.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Sub DeleteCampaignEventType ( _
campaignEventTypeId As Integer _
)
'Usage
Dim instance As MarketingWebService
Dim campaignEventTypeId As Integer
instance.DeleteCampaignEventType(campaignEventTypeId)
[WebMethodAttribute]
public virtual void DeleteCampaignEventType(
int campaignEventTypeId
)
[WebMethodAttribute]
public:
virtual void DeleteCampaignEventType(
int campaignEventTypeId
)
public function DeleteCampaignEventType(
campaignEventTypeId : int
)
Parameters
- campaignEventTypeId
Type: System..::.Int32
The identifier of the Campaign Event to be deleted.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The campaignEventTypeId is less than zero. |
Remarks
Deletes a Campaign Event Type.
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.