Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets a value indicating whether the usage option of the PromoCodeDefinition is set.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property UsageOption As PromoCodeUsageOption
'Usage
Dim instance As PromoCodeUsageValidationException
Dim value As PromoCodeUsageOption
value = instance.UsageOption
instance.UsageOption = value
public PromoCodeUsageOption UsageOption { get; set; }
public:
property PromoCodeUsageOption UsageOption {
PromoCodeUsageOption get ();
void set (PromoCodeUsageOption value);
}
public function get UsageOption () : PromoCodeUsageOption
public function set UsageOption (value : PromoCodeUsageOption)
Property Value
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeUsageOption
true if the usage option field of the PromoCodeDefinition is set; otherwise false.
Remarks
This property, in conjunction with IsPublicCodeSet property determines if the PromoCodeUsageValidationException is thrown.
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
PromoCodeUsageValidationException Class