共用方式為


CIM_ProtocolControllerForUnit class

This association is used to define a relationship between a ProtocolController and an exposed Logical Unit (for example a Storage Volume or a MediaAccessDevice such as a tape drive). An example of the use of this association is SCSI, where it link the target controller and Logical Units. This subclass is provided so that an enumeration of related controllers and units can be performed without retrieving any connected ports or other controllers.

Important  The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

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

Syntax

class CIM_ProtocolControllerForUnit : CIM_ProtocolControllerForDevice
{
  CIM_ProtocolController REF Antecedent;
  CIM_LogicalDevice      REF Dependent;
  uint16                     DeviceAccess;
};

Members

The CIM_ProtocolControllerForUnit class has these types of members:

  • Properties

Properties

The CIM_ProtocolControllerForUnit class has these properties.

Antecedent

Data type: CIM_ProtocolController

Access type: Read-only

The ProtocolController.

Dependent

Data type: CIM_LogicalDevice

Access type: Read-only

The logical unit (for example, StorageVolume) 'behind' the ProtocolController.

DeviceAccess

Data type: uint16

Access type: Read-only

The access rights granted to the referenced logical unit as exposed through referenced ProtocolController. The 'No Access' value is used in implementations where the DeviceNumber is reserved, but no access is granted. If the instrumentation exposes PrivilegeManagementService, this property MUST be synchronized with the Activities property of any Privilege instances associated with StorageHardwareIDs associated to the referenced ProtocolController and the referenced LogicalDevice. In particular, when this property is 'Read Write', Privilege.Activities MUST include entries for 'Read' and 'Write'. When this property is 'Read-Only', Privilege.Activities MUST include an entry for 'Read'. The corresponding entries for Privilege.ActivityQualifiers MUST be 'CDB=*' and the corresponding entries for Privilege.QualifierFormat MUST be 'SCSI Command'.

Unknown (0)

Read Write (2)

Read-Only (3)

No Access (4)

DMTF Reserved (5..15999)

Vendor Reserved (16000.. )

Requirements

Namespace

Root\CIMV2