Table of Contents

Method RowCount

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

RowCount(SLProtocol, int)

Gets the number of rows of the specified table.

[Obsolete("Use protocol.RowCount instead", false)]
public static int RowCount(SLProtocol protocol, int tableId)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table.

Returns

int

The number of rows in the table. If the table was not found, a value of -1 is returned.

Remarks

This is a wrapper method for a NotifyProtocol type 195 call NT_ARRAY_ROW_COUNT.