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


BcdStore class

Represents a BCD store that contains a collection of BCD objects.

Syntax

class BcdStore
{
  string FilePath;
};

Members

The BcdStore class has these types of members:

Methods

The BcdStore class has these methods.

Method Description
CopyObject Copies the specified object from another store.
CopyObjects Copies the objects of the specified type from another store.
CreateObject Creates the specified object.
CreateStore Creates a new store.
DeleteObject Deletes the specified object.
DeleteSystemStore Deletes the system store.
EnumerateObjects Enumerates the objects of the specified type.
ExportStore Saves the system store to the specified file.
GetSystemDisk Retrieves the system disk.
GetSystemPartition Retrieves the system partition.
ImportStore Marks the specified store as the system store.
ImportStoreWithFlags Marks the specified store as the system store and optionally reinitializes boot entries in NVRAM on a computer with Unified Extensible Firmware Interface (UEFI) firmware.
OpenObject Opens the specified object.
OpenStore Opens a store.

Properties

The BcdStore class has these properties.

FilePath

Data type: string

Access type: Read-only

Qualifiers: Key

A file path that uniquely identifies the store. The system store is denoted by an empty string ("").

Remarks

Each store is contained in a file. One store is marked as the system store, which is the store currently in use on the system. When the system is booted, it uses the settings in the system store.

The CreateStore, OpenStore, and ImportStore methods are static methods; they can be called without an instance of the class. To do so, open a WMI object that represents the BcdStore class and call these methods.

Requirements

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