Columns Property (SQL-DMO)

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

Part Description
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);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.