IDataEnvironment::GetCodeExpression Method (DesignerDataConnection^)
.NET Framework (current version)
Returns a code expression that contains the source code required to retrieve a connection string from the application's configuration file.
Assembly: System.Design (in System.Design.dll)
Parameters
- connection
-
Type:
System.ComponentModel.Design.Data::DesignerDataConnection^
The connection to retrieve from the application's configuration file.
Return Value
Type: System.CodeDom::CodeExpression^A CodeExpression object containing the source code required to retrieve a connection string from the application's configuration file.
.NET Framework
Available since 2.0
Available since 2.0
Show: