Share via


Rows Property

Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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.

Syntax

object.Rows

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetRows(LPLONG pRetVal);

Hinweise

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