Method FillArray
FillArray(SLProtocol, int, object[])
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, object[] columns)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
columns
object[]The columns of the table.
Returns
Remarks
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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(SLProtocol, int, List<object[]>)
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> columns)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
columns
List<object[]>The columns of the table.
Returns
Remarks
- This overload is currently not supported.
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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(SLProtocol, int, object[], DateTime?)
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, object[] columns, DateTime? timeInfo)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
columns
object[]The columns of the table.
timeInfo
DateTime?Timestamp
Returns
Remarks
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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(SLProtocol, int, List<object[]>, DateTime?)
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> columns, DateTime? timeInfo)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
columns
List<object[]>The columns of the table.
timeInfo
DateTime?Timestamp
Returns
Remarks
- This overload is currently not supported.
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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(SLProtocol, int, List<object[]>, SaveOption)
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> rows, NotifyProtocol.SaveOption option)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
rows
List<object[]>The rows of the table.
option
NotifyProtocol.SaveOptionSaveOption.Full = unspecified primary keys are removed, SaveOption.Partial = rows with unspecified primary keys are preserved.
Returns
Remarks
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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. - 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.
FillArray(SLProtocol, int, List<object[]>, SaveOption, DateTime?)
Sets the content of the table to the provided content.
[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> rows, NotifyProtocol.SaveOption option, DateTime? timeInfo)
Parameters
protocol
SLProtocolInstance that implements SLProtocol.
tableId
intThe ID of the table parameter.
rows
List<object[]>The rows of the table.
option
NotifyProtocol.SaveOptionSaveOption.Full = unspecified primary keys are removed, SaveOption.Partial = rows with unspecified primary keys are preserved.
timeInfo
DateTime?Timestamp
Returns
Remarks
- This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
- 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. - 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.
- 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.