MPIO_DISK_INFO WMI 类
WMI 客户端使用 MPIO_DISK_INFO WMI 类来查询 MPIO,以便收集有关系统中配置的每个 MPIO 磁盘的信息。
class MPIO_DISK_INFO
{
[key, read]
string InstanceName;
[read] boolean Active;
//
// The Number of multi-path disk pdos that have been
// created.
//
[WmiDataId(1),
read,
Description("Number of Multi-Path Drives.") : amended
] uint32 NumberDrives;
//
// Variable-length array of DRIVE_INFO structures.
// NOTE: Each entry will be ULONG aligned. App. writers
// take note when iterating through the array.
//
[WmiDataId(2),
read,
Description("Multi-Path Drive Info Array.") : amended,
WmiSizeIs("NumberDrives")
] MPIO_DRIVE_INFO DriveInfo[];
};
由 WMI 工具套件编译时,此类定义生成 MPIO_DISK_INFO 数据结构。 没有与此 WMI 类关联的方法。