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 public code field of the PromoCodeDefinition is set.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property IsPublicCodeSet As Boolean
'Usage
Dim instance As PromoCodeUsageValidationException
Dim value As Boolean
value = instance.IsPublicCodeSet
instance.IsPublicCodeSet = value
public bool IsPublicCodeSet { get; set; }
public:
property bool IsPublicCodeSet {
bool get ();
void set (bool value);
}
public function get IsPublicCodeSet () : boolean
public function set IsPublicCodeSet (value : boolean)
Property Value
Type: System..::.Boolean
true if the public code field of the PromoCodeDefinition is set; otherwise false.
Remarks
This property, in conjunction with UsageOption 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