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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
columnsobject[]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
autoincrementcolumn 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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
columnsList<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
autoincrementcolumn 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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
columnsobject[]The columns of the table.
timeInfoDateTime?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
autoincrementcolumn 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
timeInfois 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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
columnsList<object[]>The columns of the table.
timeInfoDateTime?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
autoincrementcolumn 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
timeInfois 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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
rowsList<object[]>The rows of the table.
optionNotifyProtocol.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
autoincrementcolumn 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
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
rowsList<object[]>The rows of the table.
optionNotifyProtocol.SaveOptionSaveOption.Full = unspecified primary keys are removed, SaveOption.Partial = rows with unspecified primary keys are preserved.
timeInfoDateTime?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
autoincrementcolumn 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
timeInfois unspecified, the timestamp will be handled as local time.