Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 23 :: Page 50
Next Lesson: Course 3:: Session 23 :: Page 70
Connect Object Properties

This object has properties similar to the transport object, with the following exceptions:
Application: The server application to which the client is connecting. This value depends on the communications driver used. For "WinSock", specify the port number, for "NamedPipes" specify in the "\\Location\PIPE\Application" format. This value is ignored for the "Local" driver. For "OpenClientServer" driver, specify the query service name that you have stored in the "SQL.INI" file.
Driver: This value should be one of the "WinSock", "NamedPipes", "OpenClientServer", "Local".
ConnectString: Any text value that you want to pass to the "ConnectionBegin" event at the server. PowerBuilder doesn’t validate this value.
Location: The server application’s location. Provide "LocalHost" while testing the application on the same machine. Specify either the host name (name specified in the hosts file) or the IP address when you use WinSock driver.
UserId:
Password:
Options: One or more communication options. For example, the buffersize.
Trace: you can use this option while debugging the application to ask PowerBuilder to display more information.

 
HomePrevious Lesson: Course 3:: Session 23 :: Page 50
Next Lesson: Course 3:: Session 23 :: Page 70