Multiple choice technology databases

Which of the following is not a method of a Connection Object in VB.NET?

  1. Open

  2. BeginTransaction

  3. Execute

  4. CommitTransaction

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A Connection Object in VB.NET provides methods for managing database connections: Open() to establish a connection, BeginTransaction() to start a transaction, and CommitTransaction() to commit changes. Execute() is not a Connection method - it belongs to Command Objects which are used to execute SQL commands once a connection is established.