共用方式為


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

適用於