Compartilhar via


CurrentResultSet Property

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The CurrentResultSet property controls access to the result sets of a QueryResults object.

Sintaxe

object.CurrentResultSet [=value]

Parts

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

  • value
    A long integer

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCurrentResultSet(LPLONG pRetVal);
HRESULT SetCurrentResultSet(LONG NewValue);

Comentários

A QueryResults object can contain multiple result sets of data. For example, each result of an individual command in a Transact-SQL batch is returned to the client in its own set. Use the CurrentResultSet property to select a particular result set .

The ResultSets property reports the number of result sets in the QueryResults object.

Applies To: