MSiSCSI_PortalInfoClass WMI 类

MSiSCSI_PortalInfoClass WMI 类公开有关 iSCSI 门户集合的信息。

由于此类与存储微型端口驱动程序的特定实例相关联,因此微型端口驱动程序必须使用微型端口驱动程序管理的特定物理设备对象的名称 (PDO) 注册该类。

MSiSCSI_PortalInfoClass类在 Mgmt.mof 中定义。

class MSiSCSI_PortalInfoClass {
  [read,key] String  InstanceName;
  [read] boolean  Active;
  [WmiDataId(1), read, DisplayName("Count of Elements in
    iScsiPortalInfo array") : amended,
    cpp_quote(
    "\n    // Number of elements in  iScsiPortalInfo
    array\n"),
    Description("Number of elements in iScsiPortalInfo
    array") : amended] 
    uint32  PortalInfoCount;
  [WmiDataId(2), read, DisplayName("List Of Portals") :
    amended, Description("Variable length array of
    iScsiPortalInfo. PortalInfoCount specifies the 
    number of elements in the array") : amended,
    WmiSizeIs("PortalInfoCount")] 
    ISCSI_PortalInfo  PortalInformation[];
};

当 WMI 工具套件编译前面的类定义时,它将生成 MSiSCSI_PortalInfoClass 数据结构。