Table of Contents

Method Exists

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

Exists(SLProtocol, int, string)

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

public static bool Exists(SLProtocol protocol, int tableId, string key)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The 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 a row with the primary key is present, false otherwise.