Which of the following is not a method of a Connection Object in VB.NET?
-
Open
-
BeginTransaction
-
Execute
-
CommitTransaction
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.