Method SetColumn
SetColumn(int, string[], object[], DateTime?)
Sets the specified cells of a column with the provided values.
public object SetColumn(int columnPid, string[] Keys, object[] Values, DateTime? timeInfo = null)
Parameters
columnPid
intThe ID of the column parameter.
Keys
string[]The primary keys of the rows for which the column has to be updated.
Values
object[]The values to set.
timeInfo
DateTime?Timestamp.
Returns
Exceptions
- ArgumentException
The length of "Keys" is not equal to the length of "Values".
SetColumn(int, string[], object[], DateTime?, bool)
Sets the specified cells of a column with the provided values.
public object SetColumn(int columnPid, string[] keys, object[] values, DateTime? timeInfo, bool useClearAndLeave)
Parameters
columnPid
intThe ID of the column parameter.
keys
string[]The primary keys of the rows for which the column has to be updated.
values
object[]The values to set.
timeInfo
DateTime?Timestamp.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
The length of "keys" is not equal to the length of "values".
SetColumn(int, string[], object[], bool)
Sets the specified cells of a column with the provided values.
public object SetColumn(int columnPid, string[] keys, object[] values, bool useClearAndLeave)
Parameters
columnPid
intThe ID of the column parameter.
keys
string[]The primary keys of the rows for which the column has to be updated.
values
object[]The values to set.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
The length of "keys" is not equal to the length of "values".