---
UID: NF:comsvcs.IManagedPoolAction.LastRelease
title: IManagedPoolAction::LastRelease (comsvcs.h)
description: Called when a COM+ object pool drops the last reference to the object that implements it.
old-location: cos\imanagedpoolaction_lastrelease.htm
tech.root: cossdk
ms.assetid: 6685da39-17bb-4c4e-b47a-888511f605ad
ms.date: 12/05/2018
ms.keywords: IManagedPoolAction interface [COM+],LastRelease method, IManagedPoolAction.LastRelease, IManagedPoolAction::LastRelease, LastRelease, LastRelease method [COM+], LastRelease method [COM+],IManagedPoolAction interface, _cos_IManagedPoolAction_LastRelease, comsvcs/IManagedPoolAction::LastRelease, cos.imanagedpoolaction_lastrelease
f1_keywords:
- comsvcs/IManagedPoolAction.LastRelease
dev_langs:
- c++
req.header: comsvcs.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 2000 Professional [desktop apps only]
req.target-min-winversvr: Windows 2000 Server [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- ComSvcs.h
api_name:
- IManagedPoolAction.LastRelease
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IManagedPoolAction::LastRelease


## -description


Called when a COM+ object pool drops the last reference to the object that implements it.


## -parameters






## -returns



This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/comsvcs/nn-comsvcs-imanagedpoolaction">IManagedPoolAction</a>
 

 

