Delete Method (ShiftSched)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified shift schedule record from the Shift_Sched table.
Note: This method is no longer supported. Instead, use the corresponding method in the ShiftSchedule class.
'Declaration
<ObsoleteAttribute("ShiftSched.Delete method is no longer supported. Please call the corresponding updated method.")>
Public Shared Sub Delete( _
ByVal sessionId As Integer, _
ByVal entId As Integer, _
ByVal startDay As Integer, _
ByVal shiftId As Integer _
)
'Usage
Dim sessionId As Integer
Dim entId As Integer
Dim startDay As Integer
Dim shiftId As Integer
ShiftSched.Delete(sessionId, entId, startDay, shiftId)
[Obsolete("ShiftSched.Delete method is no longer supported. Please call the corresponding updated method.")]
public static void Delete(
int sessionId,
int entId,
int startDay,
int shiftId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- entId
Required. Holds the ID of the entity to which the shift schedule applies.
- startDay
- Required. Holds an integer that indicates the shift's start day of the week. The value 0 = Sunday and 6 = Saturday.
- shiftId
- Required. Holds the ID of the shift to which the schedule applies.