GetUtilLogData Method (UtilExec)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetUtilLogData() method retrieves data from the Util_Log table for the specified entity and start time. All data with a starting time equal to or after the specified start time is returned.
A flag determines whether the Util_Log table's shift_start field or event_time field is used to filter the data. If the shift_start field is used, then only Util_Log records whose shift_start is greater than or equal to the provided startTime parameter is returned. Similarly, if the data is filtered by event_time, then only Util_Log records whose event_time is greater than or equal to startTime is returned.
'Declaration
Public Function GetUtilLogData( _
ByVal startTime As Date, _
ByVal useShiftStartTime As Boolean _
) As DataSet
public DataSet GetUtilLogData(
DateTime startTime,
bool useShiftStartTime
)
Parameters
- startTime
Required. Holds the start time on which the utilization log data retrieval is based. Records with a start time at or after this start time will be retrieved.
- useShiftStartTime
Required. Holds a flag that, if set to true, indicates that the start time is the start of the shift. If the flag is set to false, the start time is the start of the event.