DbCommand.IDbCommand.Connection 属性

定义

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

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; }
System.Data.IDbConnection System.Data.IDbCommand.Connection { get; set; }
member this.System.Data.IDbCommand.Connection : System.Data.IDbConnection with get, set
 Property Connection As IDbConnection Implements IDbCommand.Connection

属性值

与数据源的连接。

实现

注解

有关详细信息,请参阅 Connection

适用于

另请参阅