Table of Contents

Method Exists

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

Exists(int, string)

Determines whether a row with the specified primary key exists in the specified table.

bool Exists(int tableId, string key)

Parameters

tableId int

ID of the table parameter

key string

The primary key of the row.

Returns

bool

Indication of whether the table contains a row with the specified primary key. True means that a row with the primary key is present, false means otherwise.

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 265 NT_EXISTS_ROW call.