Share via


GetAllLists Method

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

Retrieves all existing MailingList objects in the marketing system.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetAllLists As MailingList()
'Usage
Dim instance As MailingListManager
Dim returnValue As MailingList()

returnValue = instance.GetAllLists()
public MailingList[] GetAllLists()
public:
array<MailingList^>^ GetAllLists()
public function GetAllLists() : MailingList[]

Return Value

Type: array<Microsoft.CommerceServer.Marketing..::.MailingList>[]()[]
An array of the MailingList objects retrieved from the database.

Remarks

Returns all mailing lists in the system. Returns an empty array if no lists exist. Mailing List may be ExpressionList or StaticList objects.

Permissions

See Also

Reference

MailingListManager Class

MailingListManager Members

Microsoft.CommerceServer.Marketing Namespace