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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om