Win32_SerialPortSetting class
The Win32_SerialPortSetting association WMI class relates a serial port and its configuration settings.
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_SerialPortSetting : Win32_DeviceSettings
{
Win32_SerialPort REF Element;
Win32_SerialPortConfiguration REF Setting;
};
Members
The Win32_SerialPortSetting class has these types of members:
Properties
The Win32_SerialPortSetting class has these properties.
- Element
-
- Data type: Win32_SerialPort
- Access type: Read-only
Reference to the Win32_SerialPort instance representing the properties of a serial port on the computer system. This property is inherited from CIM_ElementSetting.
- Setting
-
- Data type: Win32_SerialPortConfiguration
- Access type: Read-only
Reference to the Win32_SerialPortConfiguration instance representing a configuration setting for the serial port. This property is inherited from CIM_ElementSetting.
Remarks
The Win32_SerialPortSetting class is derived from Win32_DeviceSettings.
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 client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012