Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > ProjectRestartSet

ProjectRestartSet

Sets the path to the project to be run the next time CitectSCADA is restarted.

Syntax

ProjectRestartSet(sPath)

sPath:

The path to the project. You need to use the full path, for example to specify the path to the project "Demo", use: "C:\CITECT\USER\DEMO".

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

Shutdown, ShutdownMode, ProjectSet, ProjectRestartGet

See Also

Miscellaneous Functions