DWbemContext.DeleteValue

[This is preliminary documentation and subject to change.]

The DWbemContext.DeleteValue method deletes a named context value created by DWbemContext.SetValue.

DeleteValue(
  [in] Name As String,
  [in] lFlags As Long 
) As Long
 

Parameters

Name
String that will contain the named context value to delete.
lFlags
Reserved. It must be zero.

Return Values

WBEM_E_FAILED Unspecified error.
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.

See Also

DWbemContext.SetValue, DWbemContext.GetValue