Export (0) Print
Expand All

IDbCommand.Connection Property

Gets or sets the IDbConnection used by this instance of the IDbCommand.

[Visual Basic]
Property Connection As IDbConnection
[C#]
IDbConnection Connection {get; set;}
[C++]
__property IDbConnection* get_Connection();
__property void set_Connection(IDbConnection*);
[JScript]
function get Connection() : IDbConnection;function set Connection(IDbConnection);

Property Value

The connection to the data source.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace

Show:
© 2014 Microsoft