Description
Shuts down the Flash Media Server. If you use this command while users are connected, you
should take steps to notify users of an imminent server shutdown so that they do not lose their
work.
You must be a server administrator to perform this operation.
See also
startServer()
stopVHost()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
stopVHost([vhost_name])
Parameters
Optional; string that contains the virtual host that you want to stop. To stop
vhost_name
the virtual host to which you're connected, omit this parameter.
To stop a different virtual host, specify
You must be a server administrator to stop a virtual host other than the one to which you're
connected.
Returns
If the call succeeds, the server sends a reply information object with a
and a
property of
status
code
If the call fails, the server sends a reply information object with a
and a
property of
code
available. Some objects might also have a
describing the cause of the failure.
Description
Stops a running virtual host. After the virtual host stops, all applications are unloaded and all
users are disconnected. The virtual host does not accept any requests until it has been
restarted by means of the
vhost_name
NetConnection.Call.Success
NetConnection.Admin.Command.Failed
description
command or until the server is restarted.
startVHost
in the form
adaptor_name/vhost_name
level
.
property of
level
or a more specific value, if
property that contains a string
.
property of
error
stopVHost()
71
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?