다음을 통해 공유


GlobalExpressionRef Class

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

Associates a global expression with a campaign item.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class GlobalExpressionRef _
    Inherits ExpressionRef
'Usage
Dim instance As GlobalExpressionRef
[ComVisibleAttribute(false)]
public sealed class GlobalExpressionRef : ExpressionRef
[ComVisibleAttribute(false)]
public ref class GlobalExpressionRef sealed : public ExpressionRef
public final class GlobalExpressionRef extends ExpressionRef

Remarks

To create a GlobalExpressionRef object, call NewExpressionRef and pass in the Expression object that contains the global Expression, if available, or simply pass in the identifier of the global Expression. Unlike local Expression objects, global Expression objects can be shared across different CampaignItem objects. They can be manipulated directly using the MarketingContext object model. A global Expression is any expression which has its Local property set to false.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.MarketingServices
    Microsoft.CommerceServer.Marketing..::.ExpressionRef
      Microsoft.CommerceServer.Marketing..::.GlobalExpressionRef

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.

See Also

Reference

GlobalExpressionRef Members

Microsoft.CommerceServer.Marketing Namespace

ExpressionManager