다음을 통해 공유


CurrentResultSet Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

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

구문

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);

주의

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: