Datasnap.Win.MtsRdm.TMtsDataModule.Pooled
Delphi
property Pooled: Boolean read FCanBePooled write FCanBePooled;
C++
__property bool Pooled = {read=FCanBePooled, write=FCanBePooled, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.Win.MtsRdm.pas Datasnap.Win.MtsRdm.hpp |
Datasnap.Win.MtsRdm | TMtsDataModule |
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.