GetAllMailingLists Method

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

Gets all the MailingList 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 GetAllMailingLists As MailingListData()
'Usage
Dim instance As MarketingWebService
Dim returnValue As MailingListData()

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

Return Value

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

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 MailingListData array. The MailingListData array contains information associated with all of the MailingList objects in the system.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace