SqlDataReader.Connection 属性

定义

获取与 SqlConnection 关联的 SqlDataReader

protected:
 property Microsoft::Data::SqlClient::SqlConnection ^ Connection { Microsoft::Data::SqlClient::SqlConnection ^ get(); };
protected Microsoft.Data.SqlClient.SqlConnection Connection { get; }
member this.Connection : Microsoft.Data.SqlClient.SqlConnection
Protected ReadOnly Property Connection As SqlConnection

属性值

SqlConnection 关联的 SqlDataReader

适用于