Table of Contents

Method DeleteRow

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

DeleteRow(string)

Removes the row with the specified primary key from the table.

void DeleteRow(string primaryKey)

Parameters

primaryKey string

The primary key of the row to remove.

Remarks

If the table does not contain a row with the specified primary key, the table remains unchanged. No exception is thrown.

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

Exceptions

ArgumentNullException

primaryKey is null.

ElementNotFoundException

The element was not found in the DataMiner System.

IncorrectDataException

Invalid data was provided.