RecurrenceBySecond Property
This is used to modify the BYSECOND rule of a recurrence
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public UniqueIntegerCollection BySecond { get; }
Public ReadOnly Property BySecond As UniqueIntegerCollection
Get
public:
property UniqueIntegerCollection^ BySecond {
UniqueIntegerCollection^ get ();
}
member BySecond : UniqueIntegerCollection with get
Property Value
UniqueIntegerCollection The collection contains a set of unique integer values representing seconds values from 0 to
59.
Recurrence r = new Recurrence();
// Set the properties
r.Frequency = RecurFrequency.Daily;
r.StartDateTime = DateTime.Today;
r.Count = 20;
r.ByHour.AddRange(new int[] { 7, 10, 15 });
r.ByMinute.AddRange(new int[] { 30, 45 });
r.BySecond.AddRange(new int[] { 15, 30, 45 });
// Get all instances generated by the recurrence
DateTimeCollection dc = r.AllInstances();
Dim r As New Recurrence()
' Set the properties
r.Frequency = RecurFrequency.Monthly
r.StartDateTime = DateTime.Today
r.Count = 20
r.ByHour.AddRange(New Integer() { 7, 10, 15 })
r.ByMinute.AddRange(New Integer() { 30, 45 })
r.BySecond.AddRange(New Integer() { 15, 30, 45 })
' Get all instances generated by the recurrence
Dim dc As DateTimeCollection = r.AllInstances()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.