Applies To: Windows 8.1
Retrieves a SystemState interface that is bound to a file used to save and restore the system configuration.
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)
'Usage Dim instance As Support Dim fileName As String Dim returnValue As SystemState returnValue = instance.ManageSystemState(fileName)
'Declaration Public Function ManageSystemState ( _ fileName As String _ ) As SystemState
public SystemState ManageSystemState ( string fileName )
public: SystemState^ ManageSystemState ( String^ fileName )
public SystemState ManageSystemState ( String fileName )
public function ManageSystemState ( fileName : String ) : SystemState
The name of the file used to save system settings modified through a call to SetBoolean.
The SystemState enumeration defines items on a system that may be used by assessments. These settings can be read and modified. The original values of modified settings are saved in the fileName file. The system state can be restored by calling RestoreAll to reverse any configuration changes made through SetBoolean. Any changes made by manually modifying underlying OS structures are not stored. This method binds the SystemStateinterface to a specific filename where the modified settings will be stored.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.