Commit method

Commits the current transaction.

 Visual Basic syntax
 C# syntax