ServerShutdown

ServerShutdown shuts down a server running as an application. ServerShutdown cannot be used to shut down a server running as a Windows service.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

ServerShutDown(SaveData);

Argument

Description

SaveData

A Boolean value that indicates whether the server should save changes to disk before shutting down.

If SaveData = 0, the server shuts down without saving changes.

If SaveData = 1, the server saves changes from memory to disk before shutting down.

Example

ServerShutdown(1); 

This example shuts down the server and saves data to disk.