The
Win32_PortConnector
WMI class represents physical connection ports, such as DB-25 pin male, Centronics, or PS/2.
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_PortConnector : CIM_PhysicalConnector
{
string Caption;
string ConnectorPinout;
uint16 ConnectorType[];
string CreationClassName;
string Description;
string ExternalReferenceDesignator;
datetime InstallDate;
string InternalReferenceDesignator;
string Manufacturer;
string Model;
string Name;
string OtherIdentifyingInfo;
string PartNumber;
uint16 PortType;
boolean PoweredOn;
string SerialNumber;
string SKU;
string Status;
string Tag;
string Version;
};
Methods
The Win32_PortConnector class does not define any methods.
Properties
The Win32_PortConnector class defines the following properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short description of the object—a one-line string. This property is inherited from CIM_ManagedSystemElement.
- ConnectorPinout
-
- Data type: string
- Access type: Read-only
Pin configuration and signal usage of a physical connector. This property is inherited from CIM_PhysicalConnector.
- ConnectorType
-
- Data type: uint16 array
- Access type: Read-only
Array of physical attributes of the connector used by this port. This property is inherited from CIM_PhysicalConnector. The following table lists the values.
| Value | Meaning |
- 0
| Unknown
|
- 1
| Other
|
- 2
| Male
|
- 3
| Female
|
- 4
| Shielded
|
- 5
| Unshielded
|
- 6
| SCSI (A) High-Density (50 pins)
|
- 7
| SCSI (A) Low-Density (50 pins)
|
- 8
| SCSI (P) High-Density (68 pins)
|
- 9
| SCSI SCA-I (80 pins)
|
- 10
| SCSI SCA-II (80 pins)
|
- 11
| SCSI Fibre Channel (DB-9, Copper)
|
- 12
| SCSI Fibre Channel (Fibre)
|
- 13
| SCSI Fibre Channel SCA-II (40 pins)
|
- 14
| SCSI Fibre Channel SCA-II (20 pins)
|
- 15
| SCSI Fibre Channel BNC
|
- 16
| ATA 3-1/2 Inch (40 pins)
|
- 17
| ATA 2-1/2 Inch (44 pins)
|
- 18
| ATA-2
|
- 19
| ATA-3
|
- 20
| ATA/66
|
- 21
| DB-9
|
- 22
| DB-15
|
- 23
| DB-25
|
- 24
| DB-36
|
- 25
| RS-232C
|
- 26
| RS-422
|
- 27
| RS-423
|
- 28
| RS-485
|
- 29
| RS-449
|
- 30
| V.35
|
- 31
| X.21
|
- 32
| IEEE-488
|
- 33
| AUI
|
- 34
| UTP Category 3
|
- 35
| UTP Category 4
|
- 36
| UTP Category 5
|
- 37
| BNC
|
- 38
| RJ11
|
- 39
| RJ45
|
- 40
| Fiber MIC
|
- 41
| Apple AUI
|
- 42
| Apple GeoPort
|
- 43
| PCI
|
- 44
| ISA
|
- 45
| EISA
|
- 46
| VESA
|
- 47
| PCMCIA
|
- 48
| PCMCIA Type I
|
- 49
| PCMCIA Type II
|
- 50
| PCMCIA Type III
|
- 51
| ZV Port
|
- 52
| CardBus
|
- 53
| USB
|
- 54
| IEEE 1394
|
- 55
| HIPPI
|
- 56
| HSSDC (6 pins)
|
- 57
| GBIC
|
- 58
| DIN
|
- 59
| Mini-DIN
|
- 60
| Micro-DIN
|
- 61
| PS/2
|
- 62
| Infrared
|
- 63
| HP-HIL
|
- 64
| Access.bus
|
- 65
| NuBus
|
- 66
| Centronics
|
- 67
| Mini-Centronics
|
- 68
| Mini-Centronics Type-14
|
- 69
| Mini-Centronics Type-20
|
- 70
| Mini-Centronics Type-26
|
- 71
| Bus Mouse
|
- 72
| ADB
|
- 73
| AGP
|
- 74
| VME Bus
|
- 75
| VME64
|
- 76
| Proprietary
|
- 77
| Proprietary Processor Card Slot
|
- 78
| Proprietary Memory Card Slot
|
- 79
| Proprietary I/O Riser Slot
|
- 80
| PCI-66MHZ
|
- 81
| AGP2X
|
- 82
| AGP4X
|
- 83
| PC-98
|
- 84
| PC-98-Hireso
|
- 85
| PC-H98
|
- 86
| PC-98Note
|
- 87
| PC-98Full
|
- 88
| SSA SCSI
|
- 89
| Circular
|
- 90
| On Board IDE Connector
|
- 91
| On Board Floppy Connector
|
- 92
| 9 Pin Dual Inline
|
- 93
| 25 Pin Dual Inline
|
- 94
| 50 Pin Dual Inline
|
- 95
| 68 Pin Dual Inline
|
- 96
| On Board Sound Connector
|
- 97
| Mini-Jack
|
- 98
| PCI-X
|
- 99
| Sbus IEEE 1396-1993 32 Bit
|
- 100
| Sbus IEEE 1396-1993 64 Bit
|
- 101
| MCA
|
- 102
| GIO
|
- 103
| XIO
|
- 104
| HIO
|
- 105
| NGIO
|
- 106
| PMC
|
- 107
| MTRJ
|
- 108
| VF-45
|
- 109
| Future I/O
|
- 110
| SC
|
- 111
| SG
|
- 112
| Electrical
|
- 113
| Optical
|
- 114
| Ribbon
|
- 115
| GLM
|
- 116
| 1x9
|
- 117
| Mini SG
|
- 118
| LC
|
- 119
| HSSC
|
- 120
| VHDCI Shielded (68 pins)
|
- 121
| InfiniBand
|
- CreationClassName
-
- Data type: string
- Access type: Read-only
Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely. This property is inherited from CIM_PhysicalElement.
- Description
-
- Data type: string
- Access type: Read-only
Description of the object. This property is inherited from CIM_ManagedSystemElement.
- ExternalReferenceDesignator
-
- Data type: string
- Access type: Read-only
External reference designator of the port. External reference designators are identifiers that determine the type and use of the port.
Example: "COM1"
- InstallDate
-
- Data type: datetime
- Access type: Read-only
Date and time the object is installed. This property does not need a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.
- InternalReferenceDesignator
-
- Data type: string
- Access type: Read-only
Internal reference designator of the port. Internal reference designators are specific to the manufacturer, and identify the circuit board location or use of the port.
Example: "J101"
- Manufacturer
-
- Data type: string
- Access type: Read-only
Name of the organization responsible for producing the physical element. This property is inherited from CIM_PhysicalElement.
- Model
-
- Data type: string
- Access type: Read-only
Name for the physical element. This property is inherited from CIM_PhysicalElement.
- Name
-
- Data type: string
- Access type: Read-only
Label for the object. When subclassed, the property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.
- OtherIdentifyingInfo
-
- Data type: string
- Access type: Read-only
Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar code data associated with an element that also has an asset tag. If only bar code data is available and unique or able to be used as an element key, this property is NULL and the bar code data is used as the class key in the tag property. This property is inherited from CIM_PhysicalElement.
- PartNumber
-
- Data type: string
- Access type: Read-only
Part number assigned by the organization responsible for producing or manufacturing the physical element. This property is inherited from CIM_PhysicalElement.
- PortType
-
- Data type: uint16
- Access type: Read-only
Function of the port. The following table lists the values.
| Values | Meaning |
- 0 (0x0)
| None
|
- 1 (0x1)
| Parallel Port XT/AT Compatible
|
- 2 (0x2)
| Parallel Port PS/2
|
- 3 (0x3)
| Parallel Port ECP
|
- 4 (0x4)
| Parallel Port EPP
|
- 5 (0x5)
|
Parallel Port ECP/EPP
|
- 6 (0x6)
| Serial Port XT/AT Compatible
|
- 7 (0x7)
| Serial Port 16450 Compatible
|
- 8 (0x8)
| Serial Port 16550 Compatible
|
- 9 (0x9)
| Serial Port 16550A Compatible
|
- 10 (0xA)
| SCSI Port
|
- 11 (0xB)
| MIDI Port
|
- 12 (0xC)
| Joy Stick Port
|
- 13 (0xD)
| Keyboard Port
|
- 14 (0xE)
| Mouse Port
|
- 15 (0xF)
| SSA SCSI
|
- 16 (0x10)
| USB
|
- 17 (0x11)
| FireWire (IEEE P1394)
|
- 18 (0x12)
| PCMCIA Type II
|
- 19 (0x13)
| PCMCIA Type II
|
- 20 (0x14)
| PCMCIA Type III
|
- 21 (0x15)
| CardBus
|
- 22 (0x16)
| Access Bus Port
|
- 23 (0x17)
| SCSI II
|
- 24 (0x18)
| SCSI Wide
|
- 25 (0x19)
| PC-98
|
- 26 (0x1A)
| PC-98-Hireso
|
- 27 (0x1B)
| PC-H98
|
- 28 (0x1C)
| Video Port
|
- 29 (0x1D)
| Audio Port
|
- 30 (0x1E)
| Modem Port
|
- 31 (0x1F)
| Network Port
|
- 32 (0x20)
| 8251 Compatible
|
- 33 (0x21)
| 8251 FIFO Compatible
|
- PoweredOn
-
- Data type: boolean
- Access type: Read-only
If TRUE, the physical element is powered on. This property is inherited from CIM_PhysicalElement.
- SerialNumber
-
- Data type: string
- Access type: Read-only
Manufacturer-allocated number used to identify a physical element. This property is inherited from CIM_PhysicalElement.
- SKU
-
- Data type: string
- Access type: Read-only
Stock keeping unit number for a physical element. This property is inherited from CIM_PhysicalElement.
- Status
-
- Data type: string
- Access type: Read-only
- Qualifiers: MaxLen(10)
Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.
The values are:
- "OK"
- "Error"
- "Degraded"
- "Unknown"
- "Pred Fail"
- "Starting"
- "Stopping"
- "Service"
- "Stressed"
- "NonRecover"
- "No Contact"
- "Lost Comm"
- Tag
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key, MaxLen(256)
Unique identifier of a port connection on the computer system. This property is inherited from CIM_PhysicalElement.
Example: "Port Connector 1"
- Version
-
- Data type: string
- Access type: Read-only
Version of the physical element. This property is inherited from CIM_PhysicalElement.
Remarks
The
Win32_PortConnector class is derived from CIM_PhysicalConnector.
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 |
| Minimum supported server | Windows 2000 Server |
| MOF | Cimwin32.mof |
| DLL | Cimwin32.dll |
| Namespace | \root\cimv2 |
See Also
- Computer System Hardware Classes
Send comments about this topic to Microsoft
Build date: 11/3/2009