Table of Contents

Method DeleteRow

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

DeleteRow(SLProtocol, int, string[])

Removes the specified rows from the specified table.

public static int DeleteRow(SLProtocol protocol, int tableId, string[] rows)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

rows string[]

The primary keys of the rows to remove.

Returns

int

The number of remaining rows in the table.

Remarks

This method acts as a wrapper for a NotifyProtocol type 156 call NT_DELETE_ROW.

DeleteRow(SLProtocol, int, int)

Removes the specified row from the specified table.

public static int DeleteRow(SLProtocol protocol, int tableId, int row)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

row int

The index of the row.

Returns

int

The number of remaining rows in the table.

Remarks

This method acts as a wrapper for a NotifyProtocol type 156 call NT_DELETE_ROW.

DeleteRow(SLProtocol, int, string)

Removes the specified row from the specified table.

public static int DeleteRow(SLProtocol protocol, int tableId, string rowKey)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

rowKey string

The primary key of the row to remove.

Returns

int

The number of remaining rows in the table.

Remarks

This method acts as a wrapper for a NotifyProtocol type 156 call NT_DELETE_ROW.