Method GetTableKeyMappings
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetTableKeyMappings(int)
Gets the primary key to display key map of the specified table.
public virtual DynamicTableIndicesResponse GetTableKeyMappings(int tablePid)
Parameters
tablePidintThe ID of the table or column parameter.
Returns
- DynamicTableIndicesResponse
The primary key to display key map of the specified table.
Examples
var dummy = engine.GetDummy("dummy1");
var keyMap = dummy.GetTableKeyMappings(1000);
GetTableKeyMappings(string)
Gets the primary key to display key map 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 DynamicTableIndicesResponse GetTableKeyMappings(string tableParameterName)
Parameters
tableParameterNamestringThe name of the table or column parameter.
Returns
- DynamicTableIndicesResponse
The primary key to display key map of the specified table.
Examples
var dummy = engine.GetDummy("dummy1");
var keyMap = dummy.GetTableKeyMappings("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.