GetMostRecentListOperation Method
Retrieves details about the last operation that performed on a list.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function GetMostRecentListOperation ( _
listId As Guid _
) As MailingListOperationData
'Usage
Dim instance As MarketingWebService
Dim listId As Guid
Dim returnValue As MailingListOperationData
returnValue = instance.GetMostRecentListOperation(listId)
[WebMethodAttribute]
public virtual MailingListOperationData GetMostRecentListOperation(
Guid listId
)
[WebMethodAttribute]
public:
virtual MailingListOperationData^ GetMostRecentListOperation(
Guid listId
)
public function GetMostRecentListOperation(
listId : Guid
) : MailingListOperationData
Parameters
- listId
Type: System..::.Guid
The identifier of the List to examine.
Return Value
Type: MailingListOperationData
A MailingListOperationData instance associated with the listId.
Exceptions
Exception | Condition |
---|---|
EntityDoesNotExistException | No item exists with this listId. |
DatabaseIntegrityException | A serious integrity issue with the database exists. |
Remarks
Use this method to retrieve a specific MailingListOperationData containing the MailingListOperation object containing the last operation data from the specified list. If no operations have been accomplished on the list, a nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
Gets the last operation that relates to a 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.