ExpressionTarget Constructor
Initializes a new instance of the ExpressionTarget class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
expression As ExpressionRef, _
action As TargetAction _
)
'Usage
Dim expression As ExpressionRef
Dim action As TargetAction
Dim instance As New ExpressionTarget(expression, _
action)
public ExpressionTarget(
ExpressionRef expression,
TargetAction action
)
public:
ExpressionTarget(
ExpressionRef^ expression,
TargetAction action
)
public function ExpressionTarget(
expression : ExpressionRef,
action : TargetAction
)
Parameters
- expression
Type: Microsoft.CommerceServer.Marketing..::.ExpressionRef
Expression of this target.
- action
Type: Microsoft.CommerceServer.Marketing..::.TargetAction
Action of this target.
Remarks
This object is publicly creatable. It is saved as a part of its parent's collection. Objects of this type cannot be saved to the database separately, but only as a part of their collection. A Collection of these objects is owned by a DisplayableCampaignItem.
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.