Jaa


GetMostRecentListOperation Method

Retrieves details about the last operation that performed on a list.

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

Syntax

'Declaration
Public Function GetMostRecentListOperation ( _
    listId As Guid _
) As MailingListOperation
'Usage
Dim instance As MailingListManager
Dim listId As Guid
Dim returnValue As MailingListOperation

returnValue = instance.GetMostRecentListOperation(listId)
public MailingListOperation GetMostRecentListOperation(
    Guid listId
)
public:
MailingListOperation^ GetMostRecentListOperation(
    Guid listId
)
public function GetMostRecentListOperation(
    listId : Guid
) : MailingListOperation

Parameters

Return Value

Type: Microsoft.CommerceServer.Marketing..::.MailingListOperation
A MailingListOperation object representing the last operation that performed against the list with Id equal to listId.

Exceptions

Exception Condition
EntityDoesNotExistException

Mailing list with this listId does not exist.

Remarks

Returns the most recent operation that in which the specified mailing list was involved. A nullNothingnullptra null reference (Nothing in Visual Basic) will be returned if no operations have occurred on this list yet.

Permissions

See Also

Reference

MailingListManager Class

MailingListManager Members

Microsoft.CommerceServer.Marketing Namespace