Server

Description

Sets or returns the name of the server on which the database resides.

The String return value is the information that is available in the database connection.

If you change a server name, you must make sure your connection options are consistent with the new name.

Setting a new value does not take effect until the ApplyPropertyChanges method is called.

Syntax

VBScript


database.Server 
database.Server serverName 

Perl


$database->GetServer();
$database->SetServer(serverName); 
Identifier
Description
database
A Database object.
serverName
A String containing the name of the server.
Return value
A String containing the name of the server on which the database resides.