SqlDataReader.Connection 属性

定义

获取与 SqlConnection 关联的 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

适用于

另请参阅