Share via


TargetAction Enumeration

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Specifies the action of an ExpressionTarget.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Enumeration TargetAction
'Usage
Dim instance As TargetAction
[ComVisibleAttribute(false)]
public enum TargetAction
[ComVisibleAttribute(false)]
public enum class TargetAction
public enum TargetAction

Members

Member name Description
Target This action increases the chance of item to be shown if the expression is true.
Require This action forbids item to be shown if the expression is false.
Exclude This action forbids item to be shown if the expression is true.
Sponsorship This action forbids other non-sponsorship item to be shown if the expression is true.

Remarks

The TargetAction enumeration values (the actions to be taken if the Expression evaluates to true) are:

  • Exclude - If the expression evaluates to true, the content is not eligible for delivery. If the expresses ion evaluates to false, the content is eligible for delivery.

  • Require - If the expression evaluates to true the content is eligible for delivery. If the expresses ion evaluates to false, the content is not eligible for delivery.

  • Sponsorship - If the expression evaluates to true the content is eligible for delivery and no other content is eligible unless it too has an expression with action = Sponsor. (Sponsor has only one multiplier.)

  • Target - If the expression evaluates to true the score is increased, as is the probability that the content will be shown. If the expression evaluates to false, the score is not changed. In both scenarios, the content is eligible for delivery.

See Also

Reference

Microsoft.CommerceServer.Marketing Namespace