Bewerken

Delen via


ISCSI_DiscoveredTarget2 structure (iscsifnd.h)

The ISCSI_DiscoveredTarget2 structure contains information that is related to a discovered target device.

Syntax

typedef struct _ISCSI_DiscoveredTarget2 {
  ULONG                              TargetPortalGroupCount;
  WCHAR                              TargetName[223 + 1];
  WCHAR                              TargetAlias[255 + 1];
  ISCSI_DiscoveredTargetPortalGroup2 TargetDiscoveredPortalGroups[1];
} ISCSI_DiscoveredTarget2, *PISCSI_DiscoveredTarget2;

Members

TargetPortalGroupCount

The number of portal groups that are associated with the target.

TargetName[223 + 1]

A name for the target that uniquely identifies the target anywhere in the world. For more information about how to specify this name, see the iSCSI specification that is published by the Internet Engineering Task Force (IETF) of the IP storage working group.

TargetAlias[255 + 1]

The human-readable name or description that is assigned to the target device by its host operating system. You can use this name in user interfaces, but it is not unique, so you should not use it in authentication decisions.

TargetDiscoveredPortalGroups[1]

A variable-length array of ISCSI_DiscoveredTargetPortalGroup2 structures that contains information about the portal groups that the initiator can use to connect to the target.

Remarks

The WMI tool suite automatically generates a declaration of the ISCSI_DiscoveredTarget2 structure when it compiles the ISCSI_DiscoveredTarget2 WMI Class in Discover.mof.

The only difference between the ISCSI_DiscoveredTarget2 structure and the ISCSI_DiscoveredTarget structure is that the TargetDiscoveredPortalGroups member of ISCSI_DiscoveredTarget2 is a ISCSI_DiscoveredTargetPortalGroup2 structure instead of a ISCSI_DiscoveredTargetPortalGroup structure.

Requirements

Requirement Value
Header iscsifnd.h (include Iscsifnd.h)

See also

ISCSI_DiscoveredTarget

ISCSI_DiscoveredTarget WMI Class

ISCSI_DiscoveredTarget2 WMI Class

ISCSI_DiscoveredTargetPortalGroup