FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.AfterClose
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp
| |
| Unit: FireDAC.Phys.MongoDBDataSet | |
| Parent: TFDMongoDataSet | |
Delphi
property AfterClose;
C++
__property AfterClose;
Description
Occurs after an application closes a dataset.
FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.AfterClose inherits from Data.DB.TDataSet.AfterClose. All content below this line refers to Data.DB.TDataSet.AfterClose.
Occurs after an application closes a dataset.
Write an AfterClose event handler to take specific action immediately after an application closes a dataset. For example, as a security measure, an application might clear a PASSWORD entry from the Params property of a TSQLConnection component when the dataset is closed.
AfterClose is called after a dataset is closed and the dataset state is set to dsInactive.
AfterClose is an event handler of type Data.DB.TDataSetNotifyEvent.