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
IDbConnection Connection {get; set;}
__property IDbConnection* get_Connection();
__property void set_Connection(IDbConnection*);
function get Connection() : IDbConnection;function set Connection(IDbConnection);

Property Value

The connection to the data source.


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

© 2014 Microsoft