Method FindPrimaryKey
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
FindPrimaryKey(int, string)
Gets the primary key that corresponds with the specified display key.
public virtual string FindPrimaryKey(int pid, string displayKey)
Parameters
Returns
Examples
Element element = engine.FindElement(400, 2000);
string primaryKey = element.FindPrimaryKey(1000, "Main");
FindPrimaryKey(string, string)
Gets the primary key that corresponds with the specified display key.
public virtual string FindPrimaryKey(string parameterName, string displayKey)
Parameters
Returns
Examples
Element element = engine.FindElement(400, 2000);
string primaryKey = element.FindPrimaryKey("Overview", "Main");
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.