Datasnap.Win.MtsRdm.TMtsDataModule.Pooled
[–] Properties | |
---|---|
Type: property | |
Visibility: published | |
Source: Datasnap.Win.MtsRdm.pas Datasnap.Win.MtsRdm.hpp
| |
Unit: Datasnap.Win.MtsRdm | |
Parent: TMtsDataModule |
Delphi
property Pooled: Boolean read FCanBePooled write FCanBePooled;
C++
__property bool Pooled = {read=FCanBePooled, write=FCanBePooled, nodefault};
Description
Indicates whether the data module can be pooled when installed under COM+.
Set Pooled to indicate whether instances of the MTS data module can be pooled when installed under COM+. The MTS remote data module uses the Pooled property when implementing the IObjectControl
CanBePooled method. This instructs COM+ that the object can be moved to an object pool when deactivated, so that the single instance is shared by all clients.
Warning: Do not set Pooled to True unless the MTS data module is stateless.