Rows Property

SQL-DMO

SQL-DMO

Rows Property

The Rows property returns the number of rows in a referenced query result set or the number of rows existing in a Microsoft® SQL Server™ 2000 table.

Applies To
QueryResults Object Table Object
Syntax

object.Rows

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetRows(LPLONG pRetVal);

Remarks

For the QueryResults object, the Rows property specifies an upper limit for a row argument used when extracting a value from a result set.