This documentation is archived and is not being maintained.

SqlCommand.System.Data.IDbCommand.Connection Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[Visual Basic]
Private Property Connection As IDbConnection Implements _
   IDbCommand.Connection
[C#]
IDbConnection IDbCommand.Connection {get; set;}
[C++]
private: __property IDbConnection* System::Data::IDbCommand::get_Connection();
private: __property void System::Data::IDbCommand::set_Connection(IDbConnection*);
[JScript]
private function get IDbCommand.Connection() : IDbConnection;private function set IDbCommand.Connection(IDbConnection);

See Also

SqlCommand Class | SqlCommand Members | System.Data.SqlClient Namespace

Show: