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
- listId
Type: System..::.Guid
Id of the MailingList whose history will be retrieved.
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
- 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.