Data.DB.TDataSet.SetTempState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetTempState(const Value: TDataSetState): TDataSetState;

C++

TDataSetState __fastcall SetTempState(const TDataSetState Value);

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Restores the operating mode of the dataset to the given value.

SetTempState is used to set a temporary state for the dataset. The Value parameter represents the State to set. The returned value represents the previous State of the dataset. The returned value should be used to restore the state by calling RestoreState. The method is for internal use. The State of the dataset is internally managed.

See Also