HTTPD_SERVER_TOGGLE Function

Syntax

Result_Flag as L = httpd_server_toggle([L confirm [,L raise_errors [,L use_registry_settings ]]])

Arguments

Result_Flag

.T. = Server successfully started or stopped. .F. = Server not started or stopped.

confirm

Optional. Default = .F. (FALSE). If .T. (TRUE) prompts the user to confirm the toggle.

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.

Description

Toggles the state of the Application Server (e.g. starts a stopped server, stops a running server)

Discussion

The HTTPD_SERVER_TOGGLE() function toggles the state of the Application Server (starts a stopped server, stops a running server).

Example

? httpd_server_toggle(.t., .t.)
= .T.

Limitations

Desktop applications only.

See Also