共用方式為


IDbCommand.Connection 屬性

定義

取得或設定 IDbCommand 的這個執行個體所使用的 IDbConnection

public:
 property System::Data::IDbConnection ^ Connection { System::Data::IDbConnection ^ get(); void set(System::Data::IDbConnection ^ value); };
public System.Data.IDbConnection? Connection { get; set; }
public System.Data.IDbConnection Connection { get; set; }
member this.Connection : System.Data.IDbConnection with get, set
Public Property Connection As IDbConnection

屬性值

與資料來源的連接。

適用於