GetByKey Method (GrpPrivLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified group privilege link record from the Grp_Priv_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal grpId As Integer, _
ByVal privId As Integer _
) As DataSet
'Usage
Dim grpId As Integer
Dim privId As Integer
Dim value As DataSet
value = GrpPrivLink.GetByKey(grpId, privId)
Parameters
- grpId
- Required. Holds the ID of the group whose group privilege link is being retrieved.
- privId
- Required. Holds the ID of the privilege whose group privilege link is being retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified group privilege link record in the Grp_Priv_Link table. If no matching record for the specified group privilege link is found, an empty DataSet is returned.