DbConnection.BeginTransaction Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Starts a database transaction.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

Public Function BeginTransaction As DbTransaction

Return Value

Type: System.Data.Common.DbTransaction

An object representing the new transaction.

If you do not specify an isolation level, the default isolation level for the specific type of connection is used.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: