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
displayKeystringThe 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
displayKeyis null.- ElementNotFoundException
The element was not found in the DataMiner System.