SetRawReason(Int32,String,DateTime,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SetRawReason() static method logs the change in utilization and sets the raw reason for the current utilization to the raw reason supplied.
'Declaration
Public Overloads Shared Sub SetRawReason( _
ByVal EntID As Integer, _
ByVal RawReasonCode As String, _
ByVal ReasonStart As Date, _
ByVal Comments As String _
)
public static void SetRawReason(
int EntID,
string RawReasonCode,
DateTime ReasonStart,
string Comments
)
Parameters
- EntID
- Required. Holds the ID of the entity for which the utilization raw reason is being set.
- RawReasonCode
- Holds the raw reason code to set.
- ReasonStart
- Hold the date/time when the raw reason changed.
- Comments
- Required. Holds comments to add to the Util_Log table about the raw reason change.