GetByKey Method (DataLogValue)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified data log value record from the Data_Log_Value table.
'Declaration
Public Shared Function GetByKey( _
ByVal grpId As Integer, _
ByVal valueIndex As Integer _
) As DataSet
'Usage
Dim grpId As Integer
Dim valueIndex As Integer
Dim value As DataSet
value = DataLogValue.GetByKey(grpId, valueIndex)
public static DataSet GetByKey(
int grpId,
int valueIndex
)
Parameters
- grpId
- Required. Holds the ID of the data log group that identifies the record to be retrieved.
- valueIndex
- Required. Holds the value index that identifies the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified data log value record in the Data_Log_Value table. If no matching record for the specified data log value record is found, an empty DataSet is returned.