skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getValueToSet
 

dam_getValueToSet

This method gets the value portion of a value object. A value object consists of the column handle and the value for that column. It is retrieved from a row by using the methods dam_getFirstValueSet and dam_getNextValueSet.
The iXoType specifies how you want the value to be returned.
You can obtain the type of the column by using dam_describeCol on the column handle returned by dam_getColToSet.
object dam_getValueToSet(
int64 hRowElem,
int iXoType,
out int piStatus)
 
Table 187: Parameters for dam_getValueToSet 
Parameter
Type
Description
IN
 
 
hRowElem
int64
Value set handle
iXoType
int
The data type in which to get the value.
OUT
 
 
piStatus
int
The status of the method call:
DAM_SUCCESS – all data retrieved
DAM_SUCCESS_WITH_RESULT_PENDING – more data is available and should be retrieved by calling this method again. This will occur for a large LONGVARBINARY data.
DAM_FAILURE – error in getting the data. Most likely the data cannot be converted to the XO_Type asked for.
RETURN
 
 
 
Object
The data object. The .NET type of the data will correspond to the iXoType value. See Table 34. A NULL Object is returned if the underlying value is NULL data.

See also 

dam_describeCol
dam_getColToSet
dam_getFirstValueSet
dam_getNextValueSet