ServerAlias Property

Syntax

serverAlias = Object.ServerAlias
Type = string, read only

Description

ServerAlias is used along with ServerCount, ServerNumber, and ServerName properties.  ServerAlias reflects the alias name of the currently selected Server. If you are not using the ClientIniPath property with multiple servers specified in the .ini file, ServerAlias has no use.

Example

'this example sets the ClientIniPath property to a .ini file name. It then
'populates a list box control with the server names and aliases found in
'the ini file. The iteration is controlled with the ServerCount property.
Dim i As Integer
On Error GoTo Handler
frmFront.ClientX1.ClientIniPath = Trim(txtClientIniLocation.Text)
For i = 1 To frmFront.ClientX1.ServerCount - 1
    frmFront.ClientX1.SetServer (i)
    lstServers.AddItem frmFront.ClientX1.ServerName & " ALIAS " & frmFront.ClientX1.ServerAlias
Next i

See also:

ServerCount

ServerNumber

ServerName

PrinterPath

SetServer

ClientIniPath