ExpressionRef Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Associates Expression objects with CampaignItem objects.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public MustInherit Class ExpressionRef _
Inherits MarketingServices
'Usage
Dim instance As ExpressionRef
[ComVisibleAttribute(false)]
public abstract class ExpressionRef : MarketingServices
[ComVisibleAttribute(false)]
public ref class ExpressionRef abstract : public MarketingServices
public abstract class ExpressionRef extends MarketingServices
Remarks
An ExpressionRef is used as a binding mechanism to associate Expression objects with CampaignItem objects. There are three subtypes of ExpressionRef: LocalExpressionRef, GlobalExpressionRef, and AlwaysTrueExpressionRef. By using the ExpressionRef to perform the binding, these different types of Expression objects can be associated with campaign items in a consistent manner. ExpressionRef objects are created by using NewExpressionRef or NewExpressionRef. To create a GlobalExpressionRef, pass in the identifier of a global Expression or a Expression containing the global Expression, which must have already been saved to the database. To create a LocalExpressionRef object, pass in the Expression object that contains the local Expression. In this case the Expression object will be saved as part of the CampaignItem and will not be accessible from outside of the CampaignItem. To create an AlwaysTrueExpressionRef object, pass in zero instead of a valid expression identifier.
Inheritance Hierarchy
System..::.Object
Microsoft.CommerceServer.Marketing..::.MarketingServices
Microsoft.CommerceServer.Marketing..::.ExpressionRef
Microsoft.CommerceServer.Marketing..::.AlwaysTrueExpressionRef
Microsoft.CommerceServer.Marketing..::.GlobalExpressionRef
Microsoft.CommerceServer.Marketing..::.LocalExpressionRef
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.