GetByKey Method (GrpLineLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified group/line link record from the Grp_Line_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal grpId As Integer, _
ByVal lineId As Integer _
) As DataSet
'Usage
Dim grpId As Integer
Dim lineId As Integer
Dim value As DataSet
value = GrpLineLink.GetByKey(grpId, lineId)
Parameters
- grpId
- Required. Holds the ID of the user group that identifies the record to be retrieved.
- lineId
- Required. Holds the ID of the Line.
Return Value
Returns a DataSet that contains the DataRow of the specified group/line link record in the Grp_Line_Link table. If no matching record for the specified group/line link record is found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
grp_id |
An integer that is the ID of the user group. |
|
line_id |
An integer that is the ID of the line. |
|
access |
A Boolean that is a flag that specifies whether the members of the user group may access the line. |
|
last_edit_comment |
A string that contains comments about why the record was added or updated. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A date/time that indicates when the record was added or last updated. |