NumberOfCodes Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the number of promotional codes in the current instance.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property NumberOfCodes As Integer
'Usage
Dim instance As BatchInfo
Dim value As Integer
value = instance.NumberOfCodes
instance.NumberOfCodes = value
public int NumberOfCodes { get; set; }
public:
property int NumberOfCodes {
int get ();
void set (int value);
}
public function get NumberOfCodes () : int
public function set NumberOfCodes (value : int)
Property Value
Type: System..::.Int32
The number of promotional codes in the current instance.
Remarks
The total NumberOfCodes generated for the promo code definition linked to the discount. This property will be empty when exporting promotional codes. Default is 0.
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.