AddServer
- Last UpdatedNov 17, 2021
- 1 minute read
The AddServer method adds a server to the list.
Syntax
[Result=] aaHistClientQuery.AddServer(message serverName, message loginName, message password, [discrete bPersistPassword]);
Parameters
serverName
The name of the server.
loginName
A valid user name to log on to the server. If no login name is provided, Windows integrated security is used.
password
A valid password for the server.
bPersistPassword
Optional parameter. If set to True, the password is remembered for the next time a connection is attempted. The password is only remembered for single application; the persisted password is not available to all applications. The default value is True.
Return Value
Returns True if the server can be added; otherwise returns False.