Compartilhar via


Msvm_ControlledBy class

Associates a storage device with the storage controller that owns the device. This association is used with both IDE and floppy controllers.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Association, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_ControlledBy : CIM_ControlledBy
{
  uint64                NegotiatedSpeed;
  uint32                NegotiatedDataWidth;
  CIM_Controller    REF Antecedent;
  CIM_LogicalDevice REF Dependent;
  uint16                AccessState;
  datetime              TimeOfDeviceReset;
  uint32                NumberOfHardResets;
  uint32                NumberOfSoftResets;
  string                DeviceNumber;
  uint16                AccessMode;
  uint16                AccessPriority;
};

Members

The Msvm_ControlledBy class has these types of members:

Properties

The Msvm_ControlledBy class has these properties.

AccessMode

Data type: uint16

Access type: Read-only

This property that describes the accessibility of the device through the controller.

This property is inherited from CIM_ControlledBy.

ReadWrite (2)

ReadOnly (3)

NoAccess (4)

AccessPriority

Data type: uint16

Access type: Read-only

The priority for access of the device through the controller. A lower value indicates a higher priority.

This property is inherited from CIM_ControlledBy.

AccessState

Data type: uint16

Access type: Read-only

Indicates whether the controller is actively managing the device.

This property is always set to 1.

This property is inherited from CIM_ControlledBy.

Unknown (0)

Active (1)

Inactive (2)

Antecedent

Data type: CIM_Controller

Access type: Read-only

The controller.

This property is inherited from CIM_ControlledBy.

Dependent

Data type: CIM_LogicalDevice

Access type: Read-only

The logical devices.

This property is inherited from CIM_ControlledBy.

DeviceNumber

Data type: string

Access type: Read-only

The address of the associated device in the context of the controller.

This property is inherited from CIM_ControlledBy.

NegotiatedDataWidth

Data type: uint32

Access type: Read-only

Qualifiers: Units ("Bits"), MappingStrings ("MIF.DMTF|Bus Port Association|001.3")

When several bus and connection data widths are possible, the NegotiatedDataWidth property defines the one that is in use between the Devices. Data width is specified in bits. If data width is not negotiated, or if this information is not available or not important to Device management, the property should be set to 0.

This property is always set to 0.

This property is inherited from CIM_DeviceConnection.

NegotiatedSpeed

Data type: uint64

Access type: Read-only

Qualifiers: Units ("Bits per Second"), MappingStrings ("MIF.DMTF|Bus Port Association|001.2")

When several bus and connection speeds are possible, this property defines the speed that is in use between the devices, in bits per second. If connection or bus speeds are not negotiated, or if this information is not available, or not important to device management, the property should be set to "0".

This property is always set to 0.

This property is inherited from CIM_DeviceConnection.

NumberOfHardResets

Data type: uint32

Access type: Read-only

Qualifiers: Counter

The number of hard resets issued by the controller. A hard reset returns a device to its initialization or boot-up state, after which all internal device state information and data are lost.

This property is inherited from CIM_ControlledBy.

NumberOfSoftResets

Data type: uint32

Access type: Read-only

Qualifiers: Counter

The number of soft resets issued by the controller. A soft reset does not clear the device state or data.

This property is inherited from CIM_ControlledBy.

TimeOfDeviceReset

Data type: datetime

Access type: Read-only

The time when the downstream device was last reset by the controller.

This property is inherited from CIM_ControlledBy.

Remarks

Access to the Msvm_ControlledBy class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_ControlledBy

CIM_ControlledBy

Storage Classes