MPIO_GET_DESCRIPTOR WMI-Klasse

Ein WMI-Client verwendet die MPIO_GET_DESCRIPTOR WMI-Klasse, um MPIO für die Gerätepfadkopplung eines MPIO-Datenträgers abzufragen.

class MPIO_GET_DESCRIPTOR
{
    [key, read]
     string InstanceName;
    [read] boolean Active;

    //
    // Number of instances of this device via different paths.
    //
    [WmiDataId(1),
     read,
     Description("Number of Port Objects backing the device.") : amended
    ] uint32 NumberPdos;

    //
    // Device Name (i.e. MPIODiskN)
    //
    [WmiDataId(2),
     read,
     MaxLen(63),
     Description("Name of Device.") : amended
    ] string DeviceName;

    //
    // Array of device-path pair that form the instances of this device.
    //
    [WmiDataId(3),
     read,
     Description("Array of Information classes describing the real device.") : amended,
     WmiSizeIs("NumberPdos")
    ] PDO_INFORMATION PdoInformation[];
};

Wenn diese Klassendefinition von der WMI-Toolsuite kompiliert wird, erzeugt sie die MPIO_GET_DESCRIPTOR Datenstruktur. Dieser WMI-Klasse sind keine Methoden zugeordnet.