Table of Contents

Method AddRowReturnKey

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

AddRowReturnKey(int)

Adds a row to the specified table and returns the primary key.

string AddRowReturnKey(int tableId)

Parameters

tableId int

The ID of the table parameter.

Returns

string

The primary key of the added row.

Remarks

  • This method overload is intended to be used with a table that has an auto-incrementing key.
  • 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 240 call NT_ADD_ROW_RETURN_KEY.