IContextState::GetDeactivateOnReturn method
Retrieves the value of the done flag.
Syntax
HRESULT GetDeactivateOnReturn( [out] VARIANT_BOOL *pbDeactivate );
Parameters
- pbDeactivate [out]
-
The done flag.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
Just-in-Time Activation is not available to this context. |
Remarks
When pbDeactivate is FALSE for the root object of a transaction, the object does not deactivate and the transaction does not terminate unless the client releases its reference to the object or until the done flag is set to TRUE.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also