Table of Contents

Method AddRowReturnKey

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

AddRowReturnKey(SLProtocol, int)

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

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

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

Returns

string

The primary key of the added row.

Remarks

This method acts as a wrapper for a NotifyProtocol type 240 call NT_ADD_ROW_RETURN_KEY.

note

This method overload is intended to be used with a table that has an auto-incrementing key.

AddRowReturnKey(SLProtocol, int, object[])

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

[Obsolete("Use protocol.AddRowReturnKey instead", false)]
public static string AddRowReturnKey(SLProtocol protocol, int tableId, object[] row)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

row object[]

The row data.

Returns

string

The primary key of the added row.

Remarks

This method acts as a wrapper for a NotifyProtocol type 240 call NT_ADD_ROW_RETURN_KEY.