GetByKey(Int32,Boolean) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified utilization exec record from the Util_Exec table.
This overload of the method includes the getCurrentUtil parameter.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal entId As Integer, _
ByVal getCurrentUtil As Boolean _
) As DataSet
public static DataSet GetByKey(
int entId,
bool getCurrentUtil
)
Parameters
- entId
- Required. Holds the ID of the entity whose utilization exec record is being retrieved.
- getCurrentUtil
- Required. Holds a flag that, if set to false, specificies that the system will not be triggered to calculate the current utilization value. Defaults to true.
Return Value
Returns a DataSet that contains the DataRow of the specified entity's utilization exec record from the Util_Exec table. If no matching record for the specified utilization exec is found, an empty DataSet is returned.