SWbemPrivilege.IsEnabled property

The IsEnabled property of an SWbemPrivilege object is a Boolean value that you use to enable or disable this privilege. For more information about the consequences of enabling specific privileges, see Running with Special Privileges.

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read/write.

Syntax

SWbemPrivilege.IsEnabled As Boolean

Property value

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemPrivilege
IID
IID_ISWbemPrivilege