DbCommand.IDbCommand.Connection 属性
定义
获取或设置 IDbCommand 的此实例使用的 IDbConnection。Gets 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; }
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
属性值
与数据源的连接。The connection to the data source.
实现
注解
有关详细信息,请参阅 Connection。For more information, see Connection.