set_Connection()

DbCommand::set_Connection(SharedPtr<System::Data::Common::DbConnection>) method

Gets database connecton associated with command.

virtual void System::Data::Common::DbCommand::set_Connection(SharedPtr<System::Data::Common::DbConnection> value)

Arguments

ParameterTypeDescription
valueSharedPtr<System::Data::Common::DbConnection>Database connection.

See Also