Поделиться через


Expression Property

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

Gets or sets the Expression associated with this object.

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

Syntax

'Declaration
Public Property Expression As ExpressionRef
'Usage
Dim instance As ExpressionList
Dim value As ExpressionRef

value = instance.Expression

instance.Expression = value
public ExpressionRef Expression { get; set; }
public:
property ExpressionRef^ Expression {
    ExpressionRef^ get ();
    void set (ExpressionRef^ value);
}
public function get Expression () : ExpressionRef
public function set Expression (value : ExpressionRef)

Property Value

Type: Microsoft.CommerceServer.Marketing..::.ExpressionRef
The ExpressionRef provided must refer to a global expression.

Exceptions

Exception Condition
ArgumentException

The ExpressionRef value does not refer to a global expression.

Remarks

The ExpressionRef provided must refer to a global expression.

Expressions used for lists must have the following properties:

  • They must be valid marketing expressions.

  • They must only refer to the User Profile Definition.

  • They should not depend on other expressions.

  • You can only use And clauses.

  • You can only specify user profile properties marked as searchable in the Profile Schema Manager.

Permissions

See Also

Reference

ExpressionList Class

ExpressionList Members

Microsoft.CommerceServer.Marketing Namespace

Other Resources

How to Create a New Direct Mail List