CurrentResultSet Property
Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The CurrentResultSet property controls access to the result sets of a QueryResults object.
Sintassi
object.CurrentResultSet [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A long integer
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetCurrentResultSet(LPLONG pRetVal);
HRESULT SetCurrentResultSet(LONG NewValue);
Osservazioni
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.