ConnectionData Property

Official Content
This documentation is valid for:

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