SqlDataReader.Connection 屬性

定義

取得與 SqlConnection 相關聯的 SqlDataReaderGets 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 關聯的 SqlDataReaderThe SqlConnection associated with the SqlDataReader.

適用於

另請參閱