IDataEnvironment.GetCodeExpression(DesignerDataConnection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a code expression that contains the source code required to retrieve a connection string from the application's configuration file.
public:
System::CodeDom::CodeExpression ^ GetCodeExpression(System::ComponentModel::Design::Data::DesignerDataConnection ^ connection);
public System.CodeDom.CodeExpression GetCodeExpression (System.ComponentModel.Design.Data.DesignerDataConnection connection);
abstract member GetCodeExpression : System.ComponentModel.Design.Data.DesignerDataConnection -> System.CodeDom.CodeExpression
Public Function GetCodeExpression (connection As DesignerDataConnection) As CodeExpression
Parameters
- connection
- DesignerDataConnection
The connection to retrieve from the application's configuration file.
Returns
A CodeExpression object containing the source code required to retrieve a connection string from the application's configuration file.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.