DefineShift Method
- Last UpdatedNov 06, 2025
- 1 minute read
The DefineShift() method creates a standard shift.
'Declaration
Public Shared Function DefineShift( _
ByVal shiftID As String, _
ByVal description As String _
) As Date
public static DateTime DefineShift(
string shiftID,
string description
)
Parameters
- shiftID
Required. Holds the ID of the standard shift that is to be added.
- description
Required. Holds a string description of the standard shift that is to be added. Is null if the shift is deleted.
Return Value
Returns a DateTime with the date and time the shift was created.