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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา