Rows Property (SQL-DMO)

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™ table.

Applies To
QueryResults Object Table Object

Syntax

object.Rows

Part Description
object Expression that evaluates to an object in the Applies To list

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.

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetRows(LPLONG pRetVal);

  


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