Table of Contents

Method DeleteRows

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

DeleteRows(IEnumerable<string>)

Removes the rows with the specified primary keys from the table.

void DeleteRows(IEnumerable<string> primaryKeys)

Parameters

primaryKeys IEnumerable<string>

The primary keys of the rows to remove.

Remarks

No exception is thrown when one or more of the provided primary keys does not exist in the table. In this case, only the rows with the provided primary keys that exist in the table are deleted.

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

primaryKeys is null.

ArgumentException

One of the primary keys is null.

IncorrectDataException

Invalid data was provided.

ElementNotFoundException

The element was not found in the DataMiner System.