Table of Contents

Method DeleteRow

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

DeleteRow(int, int)

Removes the specified row(s) from the specified table.

int DeleteRow(int tableId, int row)

Parameters

tableId int

The ID of the table parameter.

row int

The index of the row.

Returns

int

Number of remaining rows in the table.

Remarks

  • Prior to DataMiner 10.1.1 (RN 27995), this method was defined as an SLProtocol extension method in the NotifyProtocol class.
  • This method acts as a wrapper for a NotifyProtocol type 156 NT_DELETE_ROW call.

DeleteRow(int, string)

Removes the specified row(s) from the specified table.

int DeleteRow(int tableId, string rowKey)

Parameters

tableId int

The ID of the table parameter.

rowKey string

The primary key of the row to remove.

Returns

int

Number of remaining rows in the table.

Remarks

  • Prior to DataMiner 10.1.1 (RN 27995), this method was defined as an SLProtocol extension method in the NotifyProtocol class.
  • This method acts as a wrapper for a NotifyProtocol type 156 NT_DELETE_ROW call.

DeleteRow(int, string[])

The ID of the table parameter.

int DeleteRow(int tableId, string[] rows)

Parameters

tableId int

The ID of the table parameter.

rows string[]

The primary keys of the rows to remove.

Returns

int

Number of remaining rows in the table.

Remarks

  • Prior to DataMiner 10.1.1 (RN 27995), this method was defined as an SLProtocol extension method in the NotifyProtocol class.
  • This method acts as a wrapper for a NotifyProtocol type 156 NT_DELETE_ROW call.