共用方式為


GetSystemPartition method of the BcdStore class

Returns the device path to the Windows system partition.

Syntax

boolean GetSystemPartition(
  [out] string Partition
);

Parameters

Partition [out]

The device path to the Windows system partition.

Requirements

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

See also

BcdStore