GetByKey Method (UtilRawReas)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified utilization raw reason record from the Util_Raw_Reas table.
'Declaration
Public Shared Function GetByKey( _
ByVal entId As Integer, _
ByVal rawReasCd As String _
) As DataSet
'Usage
Dim entId As Integer
Dim rawReasCd As String
Dim value As DataSet
value = UtilRawReas.GetByKey(entId, rawReasCd)
Parameters
- entId
- Required. Holds the ID of the entity whose utilization raw reason code is being retrieved.
- rawReasCd
- Required. Holds the name of the raw reason code whose record is being retrieved.
Return Value
Returns a DataSet that contains the record in the Util_Raw_Reas table that satisfies the specified filters. If no matching records are found, an empty DataSet is returned.