Share via


Local Property

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

Gets or sets a value indicating whether the current Expression object is a local one.

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

Syntax

'Declaration
Public ReadOnly Property Local As Boolean
'Usage
Dim instance As Expression
Dim value As Boolean

value = instance.Local
public bool Local { get; }
public:
property bool Local {
    bool get ();
}
public function get Local () : boolean

Property Value

Type: System..::.Boolean
true if the current instance is local; otherwise, false.

Remarks

A local expression only exists in the context of a Discount, therefore operations done on a local expression must be performed in the context of that Discount. Once the Expression is saved, this value cannot be changed. Local Expression cannot be saved directly; they must be saved as part of a Discount.

Permissions

See Also

Reference

Expression Class

Expression Members

Microsoft.CommerceServer.Marketing Namespace