Table of Contents

Class NotifyProtocol

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

This class defines a number of methods for the SLProtocol interface. Most extension methods just wrap a specific NotifyProtocol method call to improve readability.

public class NotifyProtocol
Inheritance
NotifyProtocol
Extension Methods

Remarks

Prior to DataMiner 10.1.1 (RN 27995), these methods are all defined as extension methods on the SLProtocol interface. However, from DataMiner 10.1.1 onwards, the SLProtocol interface itself has been extended with these methods, which should be used instead of the static methods defined in this class.

Methods

AddRow(SLProtocol, int, object[])

Adds a row to the table.

AddRow(SLProtocol, int, object[], bool[])

Adds a row to the table.

AddRow(SLProtocol, int, string)

Adds a row to the table.

AddRowReturnKey(SLProtocol, int)

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

AddRowReturnKey(SLProtocol, int, object[])

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

ClearAllKeys(SLProtocol, int)

Removes all rows from the specified table.

DeleteRow(SLProtocol, int, int)

Removes the specified row from the specified table.

DeleteRow(SLProtocol, int, string)

Removes the specified row from the specified table.

DeleteRow(SLProtocol, int, string[])

Removes the specified rows from the specified table.

Exists(SLProtocol, int, string)

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

FillArray(SLProtocol, int, List<object[]>)

Sets the content of the table to the provided content.

FillArray(SLProtocol, int, List<object[]>, SaveOption)

Sets the content of the table to the provided content.

FillArray(SLProtocol, int, List<object[]>, SaveOption, DateTime?)

Sets the content of the table to the provided content.

FillArray(SLProtocol, int, List<object[]>, DateTime?)

Sets the content of the table to the provided content.

FillArray(SLProtocol, int, object[])

Sets the content of the table to the provided content.

FillArray(SLProtocol, int, object[], DateTime?)

Sets the content of the table to the provided content.

FillArrayNoDelete(SLProtocol, int, List<object[]>)

Adds the provided rows to the specified table.

FillArrayNoDelete(SLProtocol, int, List<object[]>, DateTime?)

Adds the provided rows to the specified table.

FillArrayNoDelete(SLProtocol, int, object[])

Adds the provided rows to the specified table.

FillArrayNoDelete(SLProtocol, int, object[], DateTime?)

Adds the provided rows to the specified table.

FillArrayWithColumn(SLProtocol, int, int, object[], object[])

Sets the specified cells of a column with the provided values.

FillArrayWithColumn(SLProtocol, int, int, object[], object[], DateTime?)

Sets the specified cells of a column with the provided values.

GetKeyPosition(SLProtocol, int, string)

Gets the position of the row with the specified primary key in the table.

GetKeys(SLProtocol, int)

Retrieves the primary keys of the specified table.

GetKeys(SLProtocol, int, KeyType)

Gets the primary keys or display keys of the specified table.

GetKeysForIndex(SLProtocol, int, string)

Gets the primary keys of all rows that have the specified value for the specified column.

RowCount(SLProtocol, int)

Gets the number of rows of the specified table.

SetParameterBinary(SLProtocol, int, byte[])

Sets the value of the specified parameter to the specified byte array.