GetByKey(String,String) 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 description.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal processId As String, _
ByVal attrDescription As String _
) As DataSet
'Usage
Dim processId As String
Dim attrDescription As String
Dim value As DataSet
value = ProcessAttr.GetByKey(processId, attrDescription)
public static DataSet GetByKey(
string processId,
string attrDescription
)
Parameters
- processId
- Required. Holds the ID of the process whose attribute is being retrieved.
- attrDescription
- Required. Holds the description 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.