RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMtsDataModule.Pooled Property

Indicates whether the data module can be pooled when installed under COM+.

Pascal
property Pooled: Boolean;
C++
__property Boolean Pooled;

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 method CanBePooled. 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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!