GetEntityGroups(Nullable<Int32>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetEntityGroups() method retrieves data log groups that are linked to a specified entity and its ancestors, or to any entities.
In this overload of the method, the entity is identified by its entity ID.
'Declaration
Public Overloads Shared Function GetEntityGroups( _
ByVal entId As Nullable(Of Integer) _
) As DataSet
'Usage
Dim entId As Nullable(Of Integer)
Dim value As DataSet
value = DataLogGrp.GetEntityGroups(entId)
public static DataSet GetEntityGroups(
Nullable<int> entId
)
Parameters
- entId
- Optional filter parameter. Holds the ID of an entity. To not include this parameter as a filter, pass a null.
Return Value
Returns a DataSet that contains all the records in the Data_Log_Grp table that are linked to records in the Data_Log_Grp_Ent_Link table, or only those records linked to the optionally specified entity or its ancestors. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
| Column Name | Description |
|---|---|
| grp_id | An integer that is the ID of the data log group. |
| grp_desc | A string that is the description of the data log group. |