SWbemNamedValueSet.DeleteAll method
The DeleteAll method of the SWbemNamedValueSet object removes all named values from the collection, thus emptying it.
Syntax
SWbemNamedValueSet.DeleteAll()
Parameters
This method has no parameters.
Return value
This method does not return a value.
Error codes
Upon completion of the DeleteAll method, the Err object may contain the error code below.
-
wbemErrFailed - 2147749889 (0x80041001)
-
Unspecified error.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
Type library |
|
DLL |
|
CLSID |
CLSID_SWbemNamedValueSet |
IID |
IID_ISWbemNamedValueSet |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for