Microsoft FactoryOrchestrator Client FactoryOrchestratorClient ResetService(bool bool)
Microsoft.FactoryOrchestrator.Client
Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient
FactoryOrchestratorClient.ResetService(bool, bool) Method
Asynchronously Stops all running Tasks and deletes all TaskLists.
public System.Threading.Tasks.Task ResetService(bool preserveLogs=false, bool factoryReset=false);
Parameters
preserveLogs
System.Boolean
If true, are logs not deleted.
factoryReset
System.Boolean
If true, the service is restarted as if it is first boot. NOTE: Network communication is not disabled, connected clients may encounter issues and the 'EnableNetworkAccess' setting will be ignored!