[This is preliminary documentation and subject to change.]
The DIWbemQualifierSet.Delete method deletes the specified qualifier by name. If the qualifier is inherited from the parent class, you can override it with a new value. In this case, you can use Delete to delete the new value. By deleting the new value, you reset the qualifier to the original inherited value.
See Qualifier Flavors.
DIWbemQualifierSet.Delete(
[in] Name As String
) As Long
WBEM_E_INVALID_OPERATION | Deleting this qualifier is illegal. |
WBEM_E_INVALID_PARAMETER | The Name parameter was not valid. |
WBEM_E_NOT_FOUND | The specified qualifier was not found. |
WBEM_NO_ERROR | Success. |
WBEM_S_RESET_TO_DEFAULT | When you delete an overridden qualifier, this status code (a nonerror code) indicates that the local override was deleted and that the original qualifier from the parent object has resumed scope. A subsequent attempt to get the qualifier will succeed, returning the parent's value. |