Aqra bl-Ingliż

Ixxerja permezz ta’


MSIscsiInitiator_SessionClass class

The MSIscsiInitiator_SessionClass structure describes the characteristics of a session and provides methods that allow the creation and management of connections within the session established by the Initiator.

Syntax

class MSIscsiInitiator_SessionClass
{
  string                                 SessionId;
  string                                 InitiatorName;
  string                                 TargetNodeName;
  string                                 TargetName;
  uint8                                  ISID[];
  uint8                                  TSID[];
  MSIscsiInitiator_ConnectionInformation ConnectionInformation[];
  MSIscsiInitiator_DeviceOnSession       Devices[];
};

Members

The MSIscsiInitiator_SessionClass class has these types of members:

  • Methods
  • Properties

Methods

The MSIscsiInitiator_SessionClass class has these methods.

Method Description
AddConnection

Add a connection to the session.

Logout

Log an iSCSI Target out of the session.

RemoveConnection

Remove a connection from the session.

SendScsiInquiry

Send the SCSI Inquiry command.

SendScsiReadCapacity

Send the SCSI Read Capacity command.

SendScsiReportLuns

Send the SCSI Report LUNs command.

 

Properties

The MSIscsiInitiator_SessionClass class has these properties.

ConnectionInformation

Data type: MSIscsiInitiator_ConnectionInformation array

Access type: Read-only

An MSIscsiInitiator_ConnectionInformation structure containing data that indicates the number of connections associated with the session.

Devices

Data type: MSIscsiInitiator_DeviceOnSession array

Access type: Read-only

An MSIscsiInitiator_DeviceOnSession structure containing information about the devices exposed by the session.

InitiatorName

Data type: string

Access type: Read-only

The Initiator name.

ISID

Data type: uint8 array

Access type: Read-only

The Initiator-side identifier (ISID) used in the iSCSI protocol.

SessionId

Data type: string

Access type: Read-only

Qualifiers: Key

The Unique Identifier associated with the session.

TargetName

Data type: string

Access type: Read-only

The name of the target.

TargetNodeName

Data type: string

Access type: Read-only

The name of the target node.

TSID

Data type: uint8 array

Access type: Read-only

The Target-side identifier (TSID) used in the iSCSI protocol.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Namespace

Root\WMI

MOF

Iscsidsc.mof