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