Data.DB.TDataSet.SetTempState

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

function SetTempState(const Value: TDataSetState): TDataSetState;

C++

TDataSetState __fastcall SetTempState(const TDataSetState Value);

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