Jaa


GetList Method

Retrieves the specified existing MailingList.

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

Syntax

'Declaration
Public Function GetList ( _
    listId As Guid _
) As MailingList
'Usage
Dim instance As MailingListManager
Dim listId As Guid
Dim returnValue As MailingList

returnValue = instance.GetList(listId)
public MailingList GetList(
    Guid listId
)
public:
MailingList^ GetList(
    Guid listId
)
public function GetList(
    listId : Guid
) : MailingList

Parameters

Return Value

Type: Microsoft.CommerceServer.Marketing..::.MailingList
The MailingList retrieved from the database.

Exceptions

Exception Condition
EntityDoesNotExistException

Mailing list with this listId does not exist.

Remarks

Returns a mailing list by the unique identifier.

Permissions

See Also

Reference

MailingListManager Class

MailingListManager Members

Microsoft.CommerceServer.Marketing Namespace