The Columns property exposes the number of columns contained in the current result set of a QueryResults object.
object.Columns
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
Long
Read-only
HRESULT GetColumns(LPLONG pRetVal);