IDbCommand.Connection 属性

定义

获取或设置 IDbCommand 的此实例使用的 IDbConnection

public:
 property System::Data::IDbConnection ^ Connection { System::Data::IDbConnection ^ get(); void set(System::Data::IDbConnection ^ value); };
public System.Data.IDbConnection? Connection { get; set; }
public System.Data.IDbConnection Connection { get; set; }
member this.Connection : System.Data.IDbConnection with get, set
Public Property Connection As IDbConnection

属性值

与数据源的连接。

适用于