Method GetParameterByPrimaryKey
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetParameterByPrimaryKey(int, string)
Gets the value of the specified table cell using the primary key.
object GetParameterByPrimaryKey(int pid, string primaryKey)
Parameters
Returns
Remarks
If a column is hidden by an information template, the value for a cell of that column can no longer be retrieved by this method (null is returned). However, the value can still be retrieved using the GetParameter(int, string) method. Using the GetParameter method is therefore recommended.
GetParameterByPrimaryKey(string, string)
Gets the value of the specified table cell using the 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.")]
object GetParameterByPrimaryKey(string name, string primaryKey)
Parameters
Returns
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.