SqlDataReader.Connection 属性
定义
获取与 SqlConnection 关联的 SqlDataReader。Gets the SqlConnection associated with the SqlDataReader.
protected:
property System::Data::SqlClient::SqlConnection ^ Connection { System::Data::SqlClient::SqlConnection ^ get(); };
protected System.Data.SqlClient.SqlConnection Connection { get; }
member this.Connection : System.Data.SqlClient.SqlConnection
Protected ReadOnly Property Connection As SqlConnection
属性值
与 SqlConnection 关联的 SqlDataReader。The SqlConnection associated with the SqlDataReader.