MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix C: OLE DB Properties
Property group: Column
Property set: DBPROPSET_COLUMN
Type: VT_BOOL
Typical R/W: R/W
Description: Is Long
Indicates whether a column can contain a long value.
Value | Meaning |
VARIANT_TRUE | The column can contain a long value, and pwszTypeName in the DBCOLUMNDESC structure is not required to be specified.
If pwszTypeName is not specified, the provider determines the best underlying type as follows:
Note Some 2.0 providers may not support leaving pwszTypeName unspecified. Also, to ensure a specific type, the consumer must specify that type explicitly. (This is true for all providers.) If pwszTypeName is specified, the provider uses wType, ulColumnSize, bPrecision, and bScale—as well as DBPROP_COL_FIXEDLENGTH, DBPROP_COL_ISLONG, and any other column properties—to verify that the selected pwszTypeName matches the specified values. |
VARIANT_FALSE | The column cannot contain a long value. |