UpdateUtilReasonGrp(Int32,String,Int32,Nullable<DateTime>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The UpdateUtilReasonGrp() method updates the data of the specified utilization reason group. This overload of the method includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control.
'Declaration
Public Overloads Shared Function UpdateUtilReasonGrp( _
ByVal reasGrpID As Integer, _
ByVal reasGrpDesc As String, _
ByVal displaySeq As Integer, _
ByVal lastEditAt As Nullable(Of Date) _
) As Date
public static DateTime UpdateUtilReasonGrp(
int reasGrpID,
string reasGrpDesc,
int displaySeq,
Nullable<DateTime> lastEditAt
)
Parameters
- reasGrpID
- Required. Holds the ID of the utilization reason group to be updated.
- reasGrpDesc
- Required. Holds the new description for the utilization reason group. To leave the old description, pass null.
- displaySeq
- Required. Holds the new display sequence number for the utilization reason group. To leave the old display sequence number, pass null.
- lastEditAt
Optional. Holds a DateTime value to avoid data contention. If it is specified, the passed value must match the lastEditAt value in the database for the update to succeed.
Return Value
Returns a DateTime with the date and time the utilization reason group was
updated.