SQL-DMO
Columns Property
The Columns property exposes the number of columns contained in the current result set of a QueryResults object.
Applies To
QueryResults Object |
Syntax
object.Columns
object
Expression that evaluates to an object in the Applies To list
Data Type
Long
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetColumns(LPLONG pRetVal);