ODAC

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 ConnectPrompt 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.

If the Username and Password properties are not specified, then Oracle uses authentication information supplied at the operating system login process. For this feature to work make sure that your Oracle instance is appropriately tuned (see the Oracle documentation).

See Also

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