ScheduleRuleDataNumberOfOccurrences Property  | 
 
            Gets or sets the number of occurrences for the schedule.
            
 
    Namespace: 
   Dundas.BI.WebApi.Models
    Assembly:
   Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntax[DataMemberAttribute(Name = "numberOfOccurrences", EmitDefaultValue = false)]
public int? NumberOfOccurrences { get; set; }<DataMemberAttribute(Name := "numberOfOccurrences", EmitDefaultValue := false)>
Public Property NumberOfOccurrences As Integer?
	Get
	Set
public:
[DataMemberAttribute(Name = L"numberOfOccurrences", EmitDefaultValue = false)]
property Nullable<int> NumberOfOccurrences {
	Nullable<int> get ();
	void set (Nullable<int> value);
}[<DataMemberAttribute(Name = "numberOfOccurrences", EmitDefaultValue = false)>]
member NumberOfOccurrences : Nullable<int> with get, set
Property Value
Type: 
NullableInt32The number of occurrences.
Exceptions| Exception | Condition | 
|---|
| ArgumentOutOfRangeException | The value is less than or equal to 0. | 
Remarks
            A schedule can be optionally set to run a specific number of times.
            When a schedule is created, this property is set to 1 by default.
            This property is only considered when 
EndPolicy is set to 
SpecificNumberOfOccurrences.
            
See Also