UpdateDuration Method
- Last UpdatedNov 06, 2025
- 1 minute read
The UpdateDuration() method updates the current durations of any active labor events specified by optional filters.
'Declaration
Public Shared Sub UpdateDuration( _
ByVal sessionId As Integer, _
ByVal logId As Integer, _
ByVal eventTime As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim logId As Integer
Dim eventTime As Nullable(Of Date)
LaborExec.UpdateDuration(sessionId, logId, eventTime)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- logId
- Required. Holds the log ID that corresponds to the single labor event that is having its duration updated. If a null is passed, then all active labor events are updated.
- eventTime
- Optional. Holds the date/time that specifies the end time for current duration values. If set to null, the local time is used as the update time.