다음을 통해 공유


GetAllCampaignEventTypes Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets all the CampaignEventType objects in the System.

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

Syntax

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

returnValue = instance.GetAllCampaignEventTypes()
[WebMethodAttribute]
public virtual CampaignEventTypeData[] GetAllCampaignEventTypes()
[WebMethodAttribute]
public:
virtual array<CampaignEventTypeData^>^ GetAllCampaignEventTypes()
public function GetAllCampaignEventTypes() : CampaignEventTypeData[]

Return Value

Type: array<CampaignEventTypeData>[]()[]
An array of CampaignEventTypeData.

Exceptions

Exception Condition
NotAuthorizedException

The user is not authorized to perform the requested operation.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Returns a CampaignEventTypeData array. The CampaignEventTypeData array contains information associated with all of the CampaignEventType objects in the system.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace