RSOP_RegistryValue class
The RSOP_RegistryValue WMI class represents specific security-related registry values. This class was added for Windows XP.
Note Classes that derive from the RSOP_PolicySetting class must redefine the precedence property to be a key.
The following syntax is simplified from MOF code.
Syntax
class RSOP_RegistryValue : RSOP_SecuritySettings
{
string Data;
string Path;
uint32 precedence;
uint32 Type;
};
Members
The RSOP_RegistryValue class has these types of members:
- Properties
Properties
The RSOP_RegistryValue class has these properties.
Data
Data type: string
Access type: Read-only
Qualifiers: NotNull
Registry value associated with this instance of the security policy setting.
Path
Data type: string
Access type: Read-only
Qualifiers: Key
Registry path associated with this instance of the security policy setting.
precedence
Data type: uint32
Access type: Read-only
Qualifiers: Key
Inherited from RSOP_PolicySetting.
Type
Data type: uint32
Access type: Read-only
Qualifiers: NotNull
Describes the type of registry value. This property can have one of the following values.
Value | Meaning |
---|---|
1 | REG_SZ |
2 | REG_EXPAND_SZ |
3 | REG_BINARY |
4 | REG_DWORD |
7 | REG_MULTI_SZ |
Remarks
The RSOP_RegistryValue class is derived from RSOP_SecuritySettings which is derived from RSOP_PolicySetting.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Namespace |
\\.\root\RSOP |
MOF |
SceRsop.mof |