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


PromoCodeStatus Property

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

Gets or sets the status of the current instance.

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

Syntax

'Declaration
Public Property PromoCodeStatus As PromoCodeState
'Usage
Dim instance As PromoCodeRecord
Dim value As PromoCodeState

value = instance.PromoCodeStatus

instance.PromoCodeStatus = value
public PromoCodeState PromoCodeStatus { get; set; }
public:
property PromoCodeState PromoCodeStatus {
    PromoCodeState get ();
    void set (PromoCodeState value);
}
public function get PromoCodeStatus () : PromoCodeState
public function set PromoCodeStatus (value : PromoCodeState)

Property Value

Type: Microsoft.CommerceServer.Orders..::.PromoCodeState
A PromoCodeState containing the status of the current instance.

Remarks

Stores the status of the current instance. PromoCodeStatus is calculated during execution of the pipeline that contains the PromoCode Pipeline component. Typically, the Basket pipeline will contain this component.

Permissions

See Also

Reference

PromoCodeRecord Class

PromoCodeRecord Members

Microsoft.CommerceServer.Runtime.Orders Namespace