GetByKey(String,Int32) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified process attribute record from the Process_Attr table.
This overload of the method identifies the process attribute by its ID.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal processId As String, _
ByVal attrId As Integer _
) As DataSet
'Usage
Dim processId As String
Dim attrId As Integer
Dim value As DataSet
value = ProcessAttr.GetByKey(processId, attrId)
Parameters
- processId
- Required. Holds the ID of the process whose attribute is being retrieved.
- attrId
- Required. Holds the ID of the attribute to be retrieved.
Return Value
Returns a DataSet that contains a DataRow for the specified process attribute in the Process_Attr table. If no matching record for the specified process attribute is found, an empty DataSet is returned.