Share via


DiscountsCacheName Property

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

Gets or sets the Discounts Cache name to be used for the pipeline.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property DiscountsCacheName As String
'Usage
Dim instance As PipelineInfo
Dim value As String

value = instance.DiscountsCacheName

instance.DiscountsCacheName = value
public string DiscountsCacheName { get; set; }
public:
property String^ DiscountsCacheName {
    String^ get ();
    void set (String^ value);
}
public function get DiscountsCacheName () : String
public function set DiscountsCacheName (value : String)

Property Value

Type: System..::.String
The Discounts Cache name to be used for the pipeline.

Remarks

Stores the Discounts Cache name to be used for the pipeline. When running in the ASP.Net context, the default value of this key is set to "Discounts" if there is a cache named "Discounts" in the collection Caches. In other cases, the default value of this key is nullNothingnullptra null reference (Nothing in Visual Basic). To enable Discounts integration in these cases, set the value of this property to the name of the discounts cache ("Discounts" by default). When the RunPipeline method is called on a checkout pipeline, it will set up the necessary keys required for the CSF pipeline components ('Commerce.CSFIISAppendToLog' and 'Commerce.CSFRecordEvents') to be executed based on the value of this property.

Permissions

See Also

Reference

PipelineInfo Class

PipelineInfo Members

Microsoft.CommerceServer.Runtime.Orders Namespace