ISCSI_DiscoveredTarget structure (iscsifnd.h)

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

Syntax

typedef struct _ISCSI_DiscoveredTarget {
  ULONG                             TargetPortalGroupCount;
  WCHAR                             TargetName[223 + 1];
  WCHAR                             TargetAlias[255 + 1];
  ISCSI_DiscoveredTargetPortalGroup TargetDiscoveredPortalGroups[1];
} ISCSI_DiscoveredTarget, *PISCSI_DiscoveredTarget;

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 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, you should not use it in authentication decisions.

TargetDiscoveredPortalGroups[1]

A variable-length array of ISCSI_DiscoveredTargetPortalGroup 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_DiscoveredTarget structure when it compiles the ISCSI_DiscoveredTarget WMI Class in Discover.mof.

Requirements

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

See also

ISCSI_DiscoveredTarget WMI Class

ISCSI_DiscoveredTarget2

ISCSI_DiscoveredTargetPortalGroup