Returns or Sets the number of times a program is allowed to execute. This value is stored in the registration code.
Syntax:
object.NumberRunTimes [= value]
The NumberRunTimes property syntax has these parts:
Part | Description |
Object | An object expression that evaluates to an RedRegistration object |
Value | A LONG expression specifying the number of times the program is allowed to execute. |
Remarks
If registration limits the number of times the program can be run then this property returns/sets a LONG data type specifying the number of times the program is allowed to run. The property LimitedUsers must have a value of True (-1) for NumberRunTimes to be considered valid. The property NumberRunTimesSpent will contain a value of how many times the method SpendOneRunTime has been called.
Data Type
LONG