Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MSISCSITARGET_ProtocolControllerForUnit class

Defines a relationship between a CIM_ProtocolController and an exposed CIM_LogicalDevice, for example a storage volume or media access device.

This class provides the ability to enumerate related controllers and units without retrieving any connected ports or other controllers.

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

Syntax

class MSISCSITARGET_ProtocolControllerForUnit : CIM_ProtocolControllerForUnit
{
  CIM_ProtocolController REF Antecedent;
  CIM_LogicalDevice      REF Dependent;
  uint16                     DeviceAccess;
  string                     DeviceNumber;
  uint16                     AccessPriority;
  uint16                     AccessState;
};

Members

The MSISCSITARGET_ProtocolControllerForUnit class has these types of members:

Properties

The MSISCSITARGET_ProtocolControllerForUnit class has these properties.

AccessPriority
Data type: uint16
Access type: Read-only

Indicates the priority given to device access through this controller. A lower value indicates a higher priority.

This property is inherited from the CIM_ProtocolControllerForDevice class.

AccessState
Data type: uint16
Access type: Read-only

Indicates the accessibility of the logical device through the protocol controller.

The possible values are.

Unknown (0)
Active (2)
Inactive (3)
Replication In Progress (4)
Mapping Inconsistency (5)

This property is inherited from the CIM_ProtocolControllerForDevice class.

Antecedent
Data type: CIM_ProtocolController
Access type: Read-only
Qualifiers: Override

Indicates the protocol controller.

This property is inherited from the CIM_ProtocolControllerForUnit class.

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

Indicates the logical device behind the protocol controller.

This property is inherited from the CIM_ProtocolControllerForUnit class.

DeviceAccess
Data type: uint16
Access type: Read-only

Indicates the access permissions that are granted to the referenced logical device as exposed through the referenced protocol controller.

Note  

If the instrumentation exposes CIM_PrivilegeManagementService, the DeviceAccess property must be synchronized with the Activities property of any CIM_Privilege instances that are associated with the CIM_StorageHardwareID properties. These properties are associated with the referenced CIM_ProtocolController and CIM_LogicalDevice. Specifically, when the DeviceAccess property is Read Write, CIM_Privilege.Activities must include entries for Read and Write. When this property is Read-Only, it must include an entry for Read. The corresponding entries for CIM_Privilege.ActivityQualifiers must be CDB=*, and the corresponding entries for CIM_Privilege.QualifierFormat must be SCSI Command.

The possible values are.

ValueMeaning
Unknown
0
Read Write
2
Read-Only
3
No Access
4
DMTF Reserved
5–15999
Vendor Reserved
16000 ≤ value

 

This property is inherited from the CIM_ProtocolControllerForUnit class.

DeviceNumber
Data type: string
Access type: Read-only

Indicates the address of the associated logical device in the context of the Antecedent protocol controller.

This property is inherited from the CIM_ProtocolControllerForDevice class.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 R2

Namespace

Root\cimv2\storage\iscsitarget

MOF

SmIscsiTarget.mof

See also

CIM_ProtocolControllerForUnit
iSCSI Target Server Reference

 

 

Show:
© 2015 Microsoft