Method GetPrimaryKey
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetPrimaryKey(string)
Retrieves the primary key that corresponds with the specified display key.
string GetPrimaryKey(string displayKey)
Parameters
displayKey
stringThe display key.
Returns
- string
The primary key that corresponds with the specified display key.
Remarks
Make sure the element that contains the table on which you perform the operation is active. If it is stopped, null will be returned.
Exceptions
- ArgumentNullException
displayKey
is null.- ElementNotFoundException
The element was not found in the DataMiner System.