IDbConnection.Open 方法

定义

打开具有指定设置(由特定于提供程序的 Connection 对象的 ConnectionString 属性所指定)的数据库连接。Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.

public:
 void Open();
public void Open ();
abstract member Open : unit -> unit
Public Sub Open ()

适用于