DeleteAll Method (ShiftSched)
- Last UpdatedNov 06, 2025
- 2 minute read
The DeleteAll() method removes one or more shift schedule records from the Shift_Sched table, as specified by the filter parameters. Passing no filter parameters will remove all shift schedule records from the table.
Note: This method is no longer supported.
'Declaration
<ObsoleteAttribute("ShiftSched.DeleteAll method is no longer supported.")>
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal entId As Nullable(Of Integer), _
ByVal startDay As Nullable(Of Integer), _
ByVal shiftId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim entId As Nullable(Of Integer)
Dim startDay As Nullable(Of Integer)
Dim shiftId As Nullable(Of Integer)
ShiftSched.DeleteAll(sessionId, entId, startDay, shiftId)
[Obsolete("ShiftSched.DeleteAll method is no longer supported.")]
public static void DeleteAll(
int sessionId,
Nullable<int> entId,
Nullable<int> startDay,
Nullable<int> shiftId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- entId
- Optional filter parameter. Holds the ID of an entity whose shift schedules are to be deleted.
- startDay
- Optional filter parameter. Holds an integer that indicates the start day of the shift schedules to be deleted. The value 0 = Sunday and 6 = Saturday.
- shiftId
- Optional filter parameter. Holds the ID of a shift whose schedules are to be deleted.
Return Value
For optional filter parameters that are not to be included as a filter, pass a null.
CAUTION: Use extreme care when calling the DeleteAll() method, as mistakes in the input parameters can result in the unintentional deletion of many or all records from the table.