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 數據結構。