[This is preliminary documentation and subject to change.]
The IWbemContext::DeleteValue method deletes a named context value created by IWbemContext::SetValue.
HRESULT DeleteValue(
[in] BSTR bstrName,
[in] LONG lFlags
);
WBEM_E_FAILED | General failure. |
WBEM_E_INVALID_PARAMETER | An invalid Name or lFlags value was specified. |
WBEM_E_NOT_FOUND | The specified named context value does not exist. |
WBEM_NO_ERROR | Success. |
IWbemContext::SetValue, IWbemContext::GetValue