AppendExpressionToList Method
Uses an expression to search for a list of user profiles and adds them to an existing static list (any duplicate users are left as is in the destination list).
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function AppendExpressionToList ( _
outputListId As Guid, _
expressionId As Integer _
) As Guid
'Usage
Dim instance As MarketingWebService
Dim outputListId As Guid
Dim expressionId As Integer
Dim returnValue As Guid
returnValue = instance.AppendExpressionToList(outputListId, _
expressionId)
[WebMethodAttribute]
public virtual Guid AppendExpressionToList(
Guid outputListId,
int expressionId
)
[WebMethodAttribute]
public:
virtual Guid AppendExpressionToList(
Guid outputListId,
int expressionId
)
public function AppendExpressionToList(
outputListId : Guid,
expressionId : int
) : Guid
Parameters
- outputListId
Type: System..::.Guid
The output list Identifier.
- expressionId
Type: System..::.Int32
The expression Identifier.
Return Value
Type: System..::.Guid
The operation Identifier of the Join Operation.
Exceptions
Exception | Condition |
---|---|
EntityStateException | List is not available. |
DuplicateEntityIdException | An operation with this Id already exists. |
EntityDoesNotExistException | List does not exist. |
DatabaseIntegrityException | A serious integrity issue with the database exists. |
Remarks
Add a list of users to an already existing list. The added list is filtered by an expression search.
The returned operationId is the identifier to the long running Import operation and can be used to get operation status or to Abort the operation.
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.