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.

Exceptions

ArgumentNullException

primaryKeys is null.

ArgumentException

One of the primary keys is null.

IncorrectDataException

Invalid data was provided.

ElementStoppedException

The element is stopped.

ElementNotFoundException

The element was not found in the DataMiner System.