Win32 Classes


Win32_DeviceSettings Class

The Win32_DeviceSettings abstract, association WMI class relates a logical device and a setting that can be applied to it.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_DeviceSettings : CIM_ElementSetting
{
  CIM_LogicalDevice REF Element;
  CIM_Setting       REF Setting;
};

Methods

The Win32_DeviceSettings class does not define any methods.

Properties

The Win32_DeviceSettings class defines the following properties.

Element
Data type: CIM_LogicalDevice
Access type: Read-only
Qualifiers: Key

Reference to the CIM_LogicalDevice instance representing the properties of the logical device on which the settings can be applied. This property is inherited from CIM_ElementSetting.

Setting
Data type: CIM_Setting
Access type: Read-only
Qualifiers: Key

Reference to the CIM_Setting instance representing the settings that can be applied to the logical device. This property is inherited from CIM_ElementSetting.

Remarks

The Win32_DeviceSettings class is derived from CIM_ElementSetting.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
MOFCimwin32.mof
DLLCimwin32.dll
Namespace\root\cimv2

See Also

Computer System Hardware Classes

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags :


Page view tracker