Table of Contents

Method SetRow

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetRow(int, int, object, ValueType, bool)

Sets the data of the specified row to the specified values.
Note that this method should not be used. Using SetRow(int, string, object, ValueType, bool) instead is highly recommended.

object SetRow(int iPID, int iRow, object rowInfo, ValueType timeInfo, bool bOverrideBehaviour)

Parameters

iPID int

The ID of the table parameter.

iRow int

The 0-based index of the row.

rowInfo object

The row data.

timeInfo ValueType

Timestamp.

bOverrideBehaviour bool

When set to true, protocol.Clear and protocol.Leave can be used as cell values, which will clear or preserve the cell content, respectively.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

SetRow(int, int, object, ValueType)

Sets the data of the specified row to the specified values.
Note that this method should not be used. Using SetRow(int, string, object, ValueType) instead is highly recommended.

object SetRow(int iPID, int iRow, object rowInfo, ValueType timeInfo)

Parameters

iPID int

The ID of the table parameter.

iRow int

The 0-based index of the row.

rowInfo object

The row data.

timeInfo ValueType

Timestamp.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

SetRow(int, int, object, bool)

Sets the data of the specified row to the specified values.
Note that this method should not be used. Using SetRow(int, string, object, bool) instead is highly recommended.

object SetRow(int iPID, int iRow, object rowInfo, bool bOverrideBehaviour)

Parameters

iPID int

The ID of the table parameter.

iRow int

The 0-based index of the row.

rowInfo object

The row data.

bOverrideBehaviour bool

When set to true, protocol.Clear and protocol.Leave can be used as cell values, which will clear or preserve the cell content, respectively.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.

SetRow(int, int, object)

Sets the data of the specified row to the specified values.
Note that this method should not be used. Using SetRow(int, string, object) instead is highly recommended.

object SetRow(int iPID, int iRow, object rowInfo)

Parameters

iPID int

The ID of the table parameter.

iRow int

The 0-based index of the row.

rowInfo object

The row data as an object array.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.

SetRow(int, string, object, ValueType, bool)

Sets the data of the specified row to the specified values.

object SetRow(int iPID, string row, object rowInfo, ValueType timeInfo, bool bOverrideBehaviour)

Parameters

iPID int

The ID of the table parameter.

row string

The primary key of the row.

rowInfo object

The row data.

timeInfo ValueType

Timestamp.

bOverrideBehaviour bool

When set to true, protocol.Clear and protocol.Leave can be used as cell values, which will clear or preserve the cell content, respectively.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

SetRow(int, string, object, ValueType)

Sets the data of the specified row to the specified values.

object SetRow(int iPID, string row, object rowInfo, ValueType timeInfo)

Parameters

iPID int

The ID of the table parameter.

row string

The primary key of the row.

rowInfo object

The row data.

timeInfo ValueType

Timestamp.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.
  • If the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

SetRow(int, string, object, bool)

Sets the data of the specified row to the specified values.

object SetRow(int iPID, string row, object rowInfo, bool bOverrideBehaviour)

Parameters

iPID int

The ID of the table parameter.

row string

The primary key of the row.

rowInfo object

The row data.

bOverrideBehaviour bool

When set to true, protocol.Clear and protocol.Leave can be used as cell values, which will clear or preserve the cell content, respectively.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.

SetRow(int, string, object)

Sets the data of the specified row to the specified values.

object SetRow(int iPID, string row, object rowInfo)

Parameters

iPID int

The ID of the table parameter.

row string

The primary key of the row.

rowInfo object

The row data.

Returns

object

Array with value 0 (No Change) or 1(Change) to indicate the change state of the cell in the row.

Remarks

  • This is a wrapper method for a NotifyProtocol type 225 NT_SET_ROW call.
  • The length of the rowData array must not be larger than the number of columns defined in the table.
  • The length of the rowData array may, however, be smaller than the number of columns defined in the table. In case there are fewer values than columns, then no update is done for the missing columns.
  • A null reference as cell value will preserve the value of the cell.