Method RowExists
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
RowExists(string)
Determines whether a row with the specified primary key exists in the table.
bool RowExists(string primaryKey)
Parameters
primaryKey
stringThe primary key of the row.
Returns
- bool
true
if the table contains a row with the specified primary key; otherwise,false
.
Exceptions
- ArgumentNullException
primaryKey
is null.- ArgumentException
primaryKey
is the empty string ("") or white space.- IncorrectDataException
The provided data is invalid.
- ElementStoppedException
The element is stopped.
- ElementNotFoundException
The element was not found in the DataMiner System.