Startvhost() - MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Reference

Server management actionscript language reference
Table of Contents

Advertisement

Description
Starts the Flash Media Server service or stops it and restarts it.
You must be a server administrator to perform this operation.
See also
stopServer()

startVHost()

Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
startVHost(vhost_name)
Parameters
A string that contains the name of the virtual host you want to start or the new
vhost_name
virtual host you want to enable, in the form
If you are enabling a new virtual host on the adaptor to which you're connected, omit
.
adaptor/
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
Starts a stopped virtual host or enables a new virtual host.
This command lets you enable a new virtual host at runtime without restarting the server.
The new virtual host directory and configuration files must already be present in the server's
conf directory; the
startVHost
configuration files. For information on adding virtual hosts, see Managing Flash Media Server.
You must be a server administrator to use the
NetConnection.Call.Success
NetConnection.Admin.Command.Failed
description
command does not create or copy any directories or
/
.
[adaptor
]vhost
.
property that contains a string
command.
startVHost()
property of
level
property of
level
error
or a more specific value, if
startVHost()
69

Advertisement

Table of Contents
loading
Need help?

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents