MSiSCSI_RedirectPortalInfoClass WMI Class
The MSiSCSI_RedirectPortalInfoClass WMI class contains a collection of sessions for an adapter ID. Additionally, it contains the portal redirect information for each of the sessions. This class is defined as follows in Mgmt.mof.
class MSiSCSI_RedirectPortalInfoClass
{
[read,key] String InstanceName;
[read] boolean Active;
[read,
WmiDataId(1),
DisplayName("Adapter Id") : amended,
DisplayInHex,
description("Id that is globally unique for all instances of iSCSI initiators.") : amended,
WmiVersion(1)
]
uint64 UniqueAdapterId;
[read,
WmiDataId(2),
DisplayName("Number of session on the adapter : Number of elements in RedirectSessionInfo array") : amended,
Description("Number of elements in RedirectSessionInfo array") : amended,
WmiVersion(1)
] uint32 SessionCount;
[read,
WmiDataId(3),
DisplayName("List Of ISCSI_RedirectSessionInfo ") : amended,
Description("Variable length array of ISCSI_RedirectSessionInfo. SessionCount specifies the number of elements in the array. NOTE: this is a variable length array.") : amended,
WmiSizeIs("SessionCount"),
WmiVersion(1)
] ISCSI_RedirectSessionInfo RedirectSessionList[];
};
When the WMI tool suite compiles the preceding class definition, it produces the MSiSCSI_RedirectPortalInfoClass data structure.