| Platform SDK: Transaction Server | 
IObjectControl::CanBePooled Method Example
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
#include <mtx.h>
BOOL MyObject::CanBePooled()
{
    // This object should not be recycled,
    // so return false.
    return FALSE;
}