Table of Contents

Method FillArray

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> rows, NotifyProtocol.SaveOption option)

Parameters

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed; SaveOption.Partial = rows with unspecified primary keys are preserved.

Returns

object

Remarks

  • 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 193 NT_FILL_ARRAY call.
  • The FillArray method overload with the saveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> rows, NotifyProtocol.SaveOption option, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed; SaveOption.Partial = rows with unspecified primary keys are preserved.

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • The FillArray method overload with the saveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> rows, NotifyProtocol.SaveOption option, DateTime? timeInfo)

Parameters

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed; SaveOption.Partial = rows with unspecified primary keys are preserved.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • 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 193 NT_FILL_ARRAY call.
  • The FillArray method overload with the saveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • 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.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> rows, NotifyProtocol.SaveOption option, DateTime? timeInfo, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed; SaveOption.Partial = rows with unspecified primary keys are preserved.

timeInfo DateTime?

Timestamp

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • The FillArray method overload with the saveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • If the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> columns, DateTime? timeInfo)

Parameters

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • This overload is supported from DataMiner 10.2.7 (RN 28573) onwards.
  • 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 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • 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.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> columns, DateTime? timeInfo, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

timeInfo DateTime?

Timestamp

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • If the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

FillArray(int, object[], DateTime?)

Sets the content of the table to the provided content.

object FillArray(int tableId, object[] columns, DateTime? timeInfo)

Parameters

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • 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 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • 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.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, object[] columns, DateTime? timeInfo, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

timeInfo DateTime?

Timestamp

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • If the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

FillArray(int, object[])

Sets the content of the table to the provided content.

object FillArray(int tableId, object[] columns)

Parameters

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

Returns

object

Remarks

  • 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 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

FillArray(int, object[], bool)

Sets the content of the table to the provided content.

object FillArray(int tableId, object[] columns, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

FillArray(int, List<object[]>)

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> columns)

Parameters

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.2.7 onwards (RN 28573).
  • 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 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

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

Sets the content of the table to the provided content.

object FillArray(int tableId, List<object[]> columns, bool useClearAndLeave)

Parameters

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

useClearAndLeave bool

Indicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.

Returns

object

Remarks

  • This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
  • This method acts as a wrapper for a NotifyProtocol type 193 NT_FILL_ARRAY call.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the "autoincrement" column type.
  • This call is to be used with columns of type "retrieved". In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.