다음을 통해 공유


GetOperationsHistory Method

Retrieves the full operation history of a list.

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

Syntax

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

returnValue = instance.GetOperationsHistory(listId)
public MailingListOperation[] GetOperationsHistory(
    Guid listId
)
public:
array<MailingListOperation^>^ GetOperationsHistory(
    Guid listId
)
public function GetOperationsHistory(
    listId : Guid
) : MailingListOperation[]

Parameters

Return Value

Type: array<Microsoft.CommerceServer.Marketing..::.MailingListOperation>[]()[]
An array of MailingListOperation objects that represent all operations performed to the list.

Exceptions

Exception Condition
EntityDoesNotExistException

Mailing list with this listId does not exist.

Remarks

Returns the history of all operations that were performed on a mailing list by the current caller. Array will be empty (but non-null) if user hasn’t done any operations with the specified list.

Permissions

See Also

Reference

MailingListManager Class

MailingListManager Members

Microsoft.CommerceServer.Marketing Namespace