AddServerEx
- Last UpdatedNov 17, 2021
- 1 minute read
The AddServerEx method adds a server to the list.
Syntax
[Result=] aaHistClientSingleValueEntry.AddServerEx(message serverName, message loginName, message password, [discrete bPersistPassword]);
Parameters
serverName
The name of the server to which to connect.
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
If set to True, the password is remembered for the subsequent connection attempt. The password is only remembered for single application; the persisted password is not available to all applications.
Return Value
Returns True if the server can be added to the list; otherwise returns False.
Remarks
All parameters are required. Errors, if any, are reported.