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


ModifyPersistentBootConfigOrder method of the CIM_PhysicalComputerSystemView class

This method is used to change the order of boot sources for the persistent boot configuration specified by the property CIM_PhysicalComputerSystemView.PersistentBootConfigOrder.

Syntax

uint32 ModifyPersistentBootConfigOrder(
  [in]      string              StructuredBootString[],
  [in, out] CIM_ConcreteJob REF Job
);

Parameters

StructuredBootString [in]

An ordered array of strings representing the order of boot sources.

Job [in, out]

Reference to the job spawned if the operation continues after the method returns. (May be null if the task is completed).

Return value

Completed with No Error (0)

Not Supported (1)

Failed (2)

Job Started (4096)

DMTF Reserved (4097 32767)

Vendor Reserved (32768 65535)

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\HardwareManagement
MOF
Pcsvdevice.mof
DLL
PCSVdevice.dll

See also

CIM_PhysicalComputerSystemView