SWbemPrivilegeSet.DeleteAll method
The DeleteAll method of the SWbemPrivilegeSet object removes all privileges from the collection, thus emptying it.
Syntax
SWbemPrivilegeSet.DeleteAll()
Parameters
This method has no parameters.
Return value
This method does not return a value.
Error codes
Upon the 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_SWbemPrivilegeSet |
IID |
IID_ISWbemPrivilegeSet |
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla