Official Content

Returns or associates additional connection information to a DBConnection variable.  

Syntax

&DataType.ConnectionData

Type Returned:
Character

Description

The contents of this property concatenate to the connection string generated by GeneXus from the remaining properties. It is normally used to specify additional parameters for the connection, such as the database.

Example

&MyConnection.ConnectionData = "DATABASE=" + &DBName + ';SERVER='+&ServerName

Scope

Extended Data Types: DBConnection
Objects: Procedures
Languages: .NET, Java

See Also

DBConnection






Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant