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
- 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.
See Also
Reference
Microsoft.CommerceServer.Marketing Namespace