In both COM+ pooling and SAS Integration Technologies pooling,
the ObjectManager represents a pooled connection with the PooledObject
COM object. The PooledObject COM object has the 'SASObject' property,
which holds the interface pointer to the object actually being pooled.
It also has the ReturnToPool() method to allow the object to be reused.
When a PooledObject
object is obtained, the calling application keeps a reference to the
PooledObject object for as long as it needs to use the object. You
can use ReturntoPool to release the PooledObject connection and return
the associated connection to the pool. Returning the PooledObject
connection to the pool also causes the object to be cleaned up so
that no further calls can be made on the object.
For more information
about the client-side coding for pooling, see the Help for the SAS
Object Manager (sasoman.chm).