Com return values, Datacolumncollection.remove(), Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 148: Description, Datacolumncollection.removeall()

Section 18. CsiDataSource Control Reference
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_INVALIDARG
Error: An incorrect Variant type was
passed. Expecting a numerical value
E_CSI_ARRAY_OUT_OF_BOUNDS Error: The numerical index was out of
the bounds of the array. Please specify
a value from zero (0) to Count - 1
E_CSI_FAIL
Error: An unexpected error has
occurred
DataColumnCollection.remove()
Name
DataColumnCollection.remove(String columnName)
Description
This method removes the specified column from the DataColumnCollection. If
the column does not exist in the collection, then an error will be returned.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_INVALIDARG Error: Cannot remove. The column specified
does not exist in the collection
DataColumnCollection.removeAll()
Name
DataColumnCollection.removeAll()
Description
This method removes all of the DataColumns that are presently a part of the
DataColumnCollection. This method does not return an error if the collection is
already empty.
18-24