แก้ไข

แชร์ผ่าน


SqlDataReader.Connection Property

Definition

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

Property Value

The SqlConnection associated with the SqlDataReader.

Applies to

See also