Поделиться через


BcdDeviceLocateStringData class

Represents the parent of a virtual hard disk (VHD) file's parent device and specifies the string to search for a VPART+PPART locate device.

Syntax

class BcdDeviceLocateStringData : BcdDeviceLocateData
{
  string Path;
};

Members

The BcdDeviceLocateStringData class has these types of members:

Properties

The BcdDeviceLocateStringData class has these properties.

Path

Data type: string

Access type: Read-only

The string to search for a VPART+PPART locate device.

Remarks

If the disk signature and partition identifier within the VHD are omitted, it is necessary to search all VHD partitions to locate the partition that contains the boot device element (the application path for a device on which a boot application resides, or the system root for a device on which an operating system resides). This is a referred to as a VPART locate device. If the VHD file's parent disk signature and partition identifier are also omitted, it is also necessary to search all of the physical disks to locate the VHD file. This is referred to as a VPART+PPART locate device. To specify a locate device, use the SetVhdDeviceElement method.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Namespace
Root\WMI
MOF
Bcd.mof

See also

BcdDeviceLocateData

SetVhdDeviceElement