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
[Dynamic, Provider("CIMWin32"), UUID("{8502C4FE-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_SerialPortSetting : Win32_DeviceSettings
{
Win32_SerialPortConfiguration REF Setting;
Win32_SerialPort REF Element;
};
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
Qualifiers: Override ("Element"), MappingStrings ("WMI|Win32_SerialPort")
A Win32_SerialPort that contains the properties of a serial port on the computer system.
Setting
Data type: Win32_SerialPortConfiguration
Access type: Read-only
Qualifiers: Override ("Setting"), MappingStrings ("WMI|Win32_SerialPortConfiguration")
A Win32_SerialPortConfiguration that contains the configuration setting for the serial port.
Remarks
The Win32_SerialPortSetting class is derived from Win32_DeviceSettings.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Namespace | Root\CIMV2 |
| MOF | CIMWin32.mof |
| DLL | CIMWin32.dll |
See also
Computer System Hardware Classes
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
