Method GetTableDisplayKeys
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetTableDisplayKeys(int)
Gets the display keys of the specified table.
public virtual string[] GetTableDisplayKeys(int tablePid)
Parameters
tablePidintThe table or column parameter ID.
Returns
- string[]
The display keys.
Examples
var dummy = engine.GetDummy("dummy1");
string[] displayKeys = dummy.GetTableDisplayKeys(1000);
GetTableDisplayKeys(string)
Gets the display keys of the specified table.
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.")]
public virtual string[] GetTableDisplayKeys(string tableParameterName)
Parameters
tableParameterNamestringThe name of the table or column parameter ID.
Returns
- string[]
The display keys.
Examples
var dummy = engine.GetDummy("dummy1");
string[] displayKeys = dummy.GetTableDisplayKeys("MyTable");
Remarks
The specified value for the tableParameterName argument should be the value of the Description tag of the parameter and not the value of the Name tag.