The ServerName property returns the fully
qualified domain name assigned to the server. This consists of the local
computer name and its domain name. The actual value returned depends
on the system configuration. If no domain has been specified for the
system, then only the machine name will be returned.
Setting this property assigns the default hostname for the server
which is reported to the client when it first establishes the
connection. If the server is publicly accessible over the Internet,
this property should be set to the same hostname that is associated
with the server IP address.
Attempting to change the value of this property after the server
has started will cause an exception to be raised. To change this
property value, you must first call the Stop
method which will terminate all active client connections.