Partager via


PromoCodeValue Property

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

Gets or sets the duplicated PromoCodeDefinition name.

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

Syntax

'Declaration
Public Property PromoCodeValue As String
'Usage
Dim instance As DuplicatePromoCodeException
Dim value As String

value = instance.PromoCodeValue

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

Property Value

Type: System..::.String
The name of the PromoCodeDefinition that caused the exception.

Remarks

Contains the name of the PromoCodeDefinition that is duplicated.

Permissions

See Also

Reference

DuplicatePromoCodeException Class

DuplicatePromoCodeException Members

Microsoft.CommerceServer.Marketing Namespace