次の方法で共有


WT_Connection class

Represents a connection from the initiator to the target.

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

Syntax

class WT_Connection
{
  uint16  CID;
  uint16  TSIH;
  string  InitiatorIPAddress;
  uint32  InitiatorPort;
  string  TargetIPAddress;
  uint32  TargetPort;
  boolean HeaderDigestEnabled;
  boolean DataDigestEnabled;
  uint32  MaxReceiveDataSegmentLength;
  uint32  MaxTransmitDataSegmentLength;
  uint16  HeaderDigestMethod;
  uint16  DataDigestMethod;
  boolean ReceivingMarkers;
  boolean SendingMarkers;
  uint8   ActiveVersion;
  uint16  AuthenticationMethodUsed;
  boolean IsMutualAuthentication;
};

Members

The WT_Connection class has these types of members:

Properties

The WT_Connection class has these properties.

ActiveVersion

Data type: uint8

Access type: Read-only

Active version number of the iSCSI specification negotiated on this connection.

This is the iSCSI protocol version defined by RFC3720.

AuthenticationMethodUsed

Data type: uint16

Access type: Read-only

Qualifiers: Values (None, SRP, CHAP, Kerberos), ValueMap (2, 3, 4, 5)

Primary authentication method used on this connection.

The iSCSI Target only supports CHAP.

CID

Data type: uint16

Access type: Read-only

Qualifiers: Key

The unique connection identifier. This identifier is only unique within the session context.

DataDigestEnabled

Data type: boolean

Access type: Read-only

Flag indicating whether data digest is enabled on this connection.

DataDigestMethod

Data type: uint16

Access type: Read-only

Qualifiers: Values (Other, None, CRC32C), ValueMap (1, 2, 3)

Primary data digest method.

HeaderDigestEnabled

Data type: boolean

Access type: Read-only

Flag indicating whether header digest is enabled on this connection.

HeaderDigestMethod

Data type: uint16

Access type: Read-only

Qualifiers: Values (Other, None, CRC32C), ValueMap (1, 2, 3)

Primary header digest method.

InitiatorIPAddress

Data type: string

Access type: Read-only

The IP address (either IPv4 or IPv6) of the initiator that connects to the target.

InitiatorPort

Data type: uint32

Access type: Read-only

The TCP port of the initiator that connects to the target.

IsMutualAuthentication

Data type: boolean

Access type: Read-only

Flag indicating whether mutual authentication is used on this connection.

MaxReceiveDataSegmentLength

Data type: uint32

Access type: Read-only

The maximum receive data segment length that is supported.

MaxTransmitDataSegmentLength

Data type: uint32

Access type: Read-only

The maximum transmit data segment length that is supported.

ReceivingMarkers

Data type: boolean

Access type: Read-only

Flag indicating whether receiving markers are in use.

SendingMarkers

Data type: boolean

Access type: Read-only

Flag indicating whether sending markers are in use.

TargetIPAddress

Data type: string

Access type: Read-only

The IP address (either IPv4 or IPv6) of the target that the initiator is connected to.

TargetPort

Data type: uint32

Access type: Read-only

The TCP port of the target that the initiator connects to.

TSIH

Data type: uint16

Access type: Read-only

Qualifiers: Key

The identifier of the session that this connection belongs to.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Wmi
MOF
WmiWtProvider.mof
DLL
WtWmiProv.dll