Method GetParameterDisplayByPrimaryKey
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetParameterDisplayByPrimaryKey(int, string)
Gets the display value of the specified table cell using the column name and row primary key.
string GetParameterDisplayByPrimaryKey(int pid, string primaryKey)
Parameters
Returns
- string
The display value of the specified table cell or "Not Initialized" if the specified row was not found.
GetParameterDisplayByPrimaryKey(string, string)
Gets the display value of the specified table cell using the column name and row primary key.
note
Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.
[Obsolete("Use overloads with parameter ID instead of name.")]
string GetParameterDisplayByPrimaryKey(string name, string primaryKey)
Parameters
Returns
- string
The display value of the specified table cell or "Not Initialized" if the specified row was not found.
Remarks
The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.
Useful for discrete parameters.