次の方法で共有


MSIscsiInitiator_SendTargetPortalClass class

This MSIscsiInitiator_SendTargetPortalClass structure describes the characteristics of a discovered target portal.

Syntax

class MSIscsiInitiator_SendTargetPortalClass
{
  string                              PortalIdentifierString;
  string                              InitiatorName;
  uint32                              InitiatorPortNumber;
  string                              PortalSymbolicName;
  string                              PortalAddress;
  uint16                              PortalPort;
  MSIscsiInitiator_TargetLoginOptions LoginOptions;
  ISCSI_SECURITY_FLAGS                SecurityFlags;
};

Members

The MSIscsiInitiator_SendTargetPortalClass class has these types of members:

Methods

The MSIscsiInitiator_SendTargetPortalClass class has these methods.

Method Description
Refresh Refreshes the list of discovered targets from this SendTargets Portal operation.

 

Properties

The MSIscsiInitiator_SendTargetPortalClass class has these properties.

InitiatorName

Data type: string

Access type: Read-only

The name of the Initiator, which the iSCSI initiator service utilizes to transmit SendTargets requests to the specified Target Portal. If NULL, the iSCSI initiator service will use any Initiator that can reach the specified Target Portal.

InitiatorPortNumber

Data type: uint32

Access type: Read-only

The port number on the Initiator to use for the SendTargets request. A value of ISCSI_ALL_INITIATOR_PORTS indicates that the Initiator must select the appropriate port based upon current routing information.

LoginOptions

Data type: MSIscsiInitiator_TargetLoginOptions

Access type: Read-only

An MSIscsiInitiator_TargetLoginOptions structure that contains the login options specified for use with the Target Portal.

PortalAddress

Data type: string

Access type: Read-only

The Portal address.

PortalIdentifierString

Data type: string

Access type: Read-only

The Portal Identifier string.

PortalPort

Data type: uint16

Access type: Read-only

The port utilized by the Portal.

PortalSymbolicName

Data type: string

Access type: Read-only

The symbolic name associated with the Portal.

SecurityFlags

Data type: ISCSI_SECURITY_FLAGS

Access type: Read-only

A bitmap that defines the security characteristics of a login connection.

Value Meaning
ISCSI_SECURITY_FLAG_TUNNEL_MODE_PREFERRED
The Host Bus Adapter (HBA) initiator should establish the TCP/IP connection to the target portal using IPsec tunnel mode.
ISCSI_SECURITY_FLAG_TRANSPORT_MODE_PREFERRED
The HBA initiator should establish the TCP/IP connection to the target portal using IPsec transport mode.
ISCSI_SECURITY_FLAG_PFS_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with Perfect Forward Secrecy (PFS) mode enabled if IPsec is required.
ISCSI_SECURITY_FLAG_AGGRESSIVE_MODE_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with aggressive mode enabled.
ISCSI_SECURITY_FLAG_MAIN_MODE_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with main mode enabled.
ISCSI_SECURITY_FLAG_IKE_IPSEC_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal using IKE/IPsec protocol. If not set then IPsec is not required to login to the target.
ISCSI_SECURITY_FLAG_VALID
The other mask values are valid; otherwise, security flags are not specified.

 

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Iscsidsc.mof