Table of Contents

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 string

The primary key of the row.

Returns

bool

true if the table contains a row with the specified primary key; otherwise, false.

Remarks

Make sure the element that contains the table on which you perform the operation is active. If it is stopped, an ElementNotFoundException will be thrown.

Exceptions

ArgumentNullException

primaryKey is null.

ArgumentException

primaryKey is the empty string ("") or white space.

IncorrectDataException

The provided data is invalid.

ElementNotFoundException

The element was not found in the DataMiner System.