Share via


SubtractLists Method

Subtracts one static list from another static list asynchronously.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function SubtractLists ( _
    outputListId As Guid, _
    inputListId As Guid _
) As Guid
'Usage
Dim instance As MarketingWebService
Dim outputListId As Guid
Dim inputListId As Guid
Dim returnValue As Guid

returnValue = instance.SubtractLists(outputListId, _
    inputListId)
[WebMethodAttribute]
public virtual Guid SubtractLists(
    Guid outputListId,
    Guid inputListId
)
[WebMethodAttribute]
public:
virtual Guid SubtractLists(
    Guid outputListId, 
    Guid inputListId
)
public function SubtractLists(
    outputListId : Guid, 
    inputListId : Guid
) : Guid

Parameters

  • inputListId
    Type: System..::.Guid
    The list to be subtracted from the output list.

Return Value

Type: System..::.Guid
The operation Id of the Subtract Operation.

Exceptions

Exception Condition
InvalidCatalogOperationException

Attempted to subtract a list from itself.

EntityStateException

One of the Lists is not available.

DuplicateEntityIdException

An operation with this Id already exists.

EntityDoesNotExistException

One of the Lists does not exist.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

Subtracts one static list from another static list asynchronously. Use this method to subtract one mailing list from another mailing list, placing the result in outputListId.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace