Metodo IManagedObjectInfo::SetInPool (comsvcs.h)

Imposta se l'oggetto gestito appartiene al pool di oggetti COM+.

Sintassi

HRESULT SetInPool(
  [in] BOOL              bInPool,
  [in] IManagedPooledObj *pPooledObj
);

Parametri

[in] bInPool

Indica se l'oggetto gestito appartiene al pool di oggetti COM+.

[in] pPooledObj

Riferimento a IManagedPooledObj che descrive come viene usato questo oggetto gestito nel pool di oggetti COM+.

Valore restituito

Questo metodo può restituire i valori restituiti standard E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL e S_OK.

Requisiti

   
Client minimo supportato Windows XP con SP1 [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione comsvcs.h

Vedi anche

IManagedObjectInfo