MSFT_iSCSITarget class

Represents an iSCSI target.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class MSFT_iSCSITarget
{
  string  NodeAddress;
  Boolean IsConnected;
};

Members

The MSFT_iSCSITarget class has these types of members:

Methods

The MSFT_iSCSITarget class has these methods.

Method Description
Connect Creates a session between an iSCSI initiator and an iSCSI target.
Disconnect Disconnects the specified session between an iSCSI initiator and an iSCSI target.
Update Refreshes the information about connected iSCSI targets.

 

Properties

The MSFT_iSCSITarget class has these properties.

IsConnected

Data type: Boolean

Access type: Read-only

If true, there is an active connection to the target.

NodeAddress

Data type: string

Access type: Read-only

Qualifiers: Key

The iSCSI qualified name (IQN) of the target.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Microsoft\Windows\Storage
MOF
Iscsiwmiv2.mof