DbCommand.IDbCommand.Connection DbCommand.IDbCommand.Connection DbCommand.IDbCommand.Connection Property

定义

获取或设置 IDbCommand 的此实例使用的 IDbConnectionGets or sets the IDbConnection used by this instance of the IDbCommand.

property System::Data::IDbConnection ^ System::Data::IDbCommand::Connection { System::Data::IDbConnection ^ get(); void set(System::Data::IDbConnection ^ value); };
System.Data.IDbConnection System.Data.IDbCommand.Connection { get; set; }
 Property Connection As IDbConnection Implements IDbCommand.Connection

属性值

与数据源的连接。The connection to the data source.

实现

注解

有关详情,请参阅ConnectionFor more information, see Connection.

适用于

另请参阅