Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets whether the managed object belongs to the COM+ object pool.
Syntax
HRESULT SetInPool(
[in] BOOL bInPool,
[in] IManagedPooledObj *pPooledObj
);
Parameters
[in] bInPool
Indicates whether the managed object belongs to the COM+ object pool.
[in] pPooledObj
A reference to IManagedPooledObj that describes how this managed object is used in the COM+ object pool.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | comsvcs.h |