Example
The following example stops the virtual host
on the default adaptor.
tree.oak.com
/* Stop the vhost named tree.oak.com */
nc.call("stopVHost", new onStopVHost(), "tree.oak.com");
/* Stop the vhost named tree.oak.com on the default adaptor */
nc.call("stopVHost", new onStopVHost(), "_defaultRoot_/tree.oak.com");
See also
,
restartVHost()
startVHost()
unloadApp()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
unloadApp(app_instance)
Parameters
A string that contains the name of the application or instance of the
app_instance
application, in the form
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.
72
Server Management ActionScript Language Reference
application_name[/instance_name]
NetConnection.Call.Success
NetConnection.Admin.Command.Failed
description
and then stops the virtual host
tree.oak.com
.
.
level
property that contains a string
property of
level
property of
error
or a more specific value, if
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?