HTTPD_SERVER_RESTART Function
Syntax
Result_Flag as L = httpd_server_restart([L confirm [,L raise_errors [,L use_registry_settings ]]])
Arguments
- confirm
Optional. Default = .F. (FALSE). If .T. (TRUE) prompts the user to confirm the restart.
- raise_errors
Optional. Default = .F. (FALSE). If .T. (TRUE) raises error messages in error boxes.
- use_registry_settings
Optional. Default = .F. (FALSE). If .T. (TRUE) uses user preferences. If .T. (TRUE), the user can choose to suppress the automatic confirmation dialog that appears.
Returns
- Result_FlagLogical
.T. = Server successfully restarted. .F. = Server not restarted.
Description
Restarts the Classic Application Server.
Discussion
The HTTPD_SERVER_RESTART() function restarts the Application Server.
Example
? httpd_server_restart(.T., .T.) = .T.
Limitations
Desktop applications only.
See Also