GetByKey Method (CauseGrp)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified cause group record from the Cause_Grp table.
'Declaration
Public Shared Function GetByKey( _
ByVal causeGrpId As Integer _
) As DataSet
public static DataSet GetByKey(
int causeGrpId
)
Parameters
- causeGrpId
- Required. Holds the ID of the cause group that is being retrieved.
Return Value
Returns a DataSet that contains the record of the specified cause group in the Cause_Grp table. If no matching records are found, an empty DataSet is returned.