UniDAC

TCustomDAConnection.Connect Method

Establishes a connection to the server.

Class

TCustomDAConnection

Syntax

procedure Connect; overload;procedure Connect(const ConnectString: string); overload;

Remarks

Call the Connect method to establish a connection to the server. Connect sets the Connected property to True. If LoginPrompt is True, Connect prompts user for login information as required by the server, or otherwise tries to establish a connection using values provided in the Username, Password, and Server properties.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback