2 out of 2 rated this helpful - Rate this topic

Win32_DeviceBus class

Applies to: desktop apps only

The Win32_DeviceBus association WMI class relates a system bus and a logical device using the bus. This class is used to discover which devices are on which bus.

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_DeviceBus : CIM_Dependency
{
  Win32_Bus         REF Antecedent;
  CIM_LogicalDevice REF Dependent;
};

Members

The Win32_DeviceBus class has these types of members:

Properties

The Win32_DeviceBus class has these properties.

Antecedent
Data type: Win32_Bus
Access type: Read-only
Qualifiers: Key

Reference to the Win32_Bus instance representing the properties of the system bus used by the logical device. This property is inherited from CIM_Dependency.

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

Reference to the CIM_LogicalDevice instance representing the properties of the logical device using the system bus. This property is inherited from CIM_Dependency.

Remarks

The Win32_DeviceBus class is derived from CIM_Dependency.

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

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Computer System Hardware Classes

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ