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
- listId
Type: System..::.Guid
Id of the MailingList to examine.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.