Creates a savepoint in the transaction that can be used to roll back a part of the transaction, and specifies the savepoint name.
Assembly: System.Data (in System.Data.dll)
method is equivalent to the Transact-SQL SAVE TRANSACTION statement.
The value used in the savePoint parameter can be the same value used in the transactionName parameter of some implementations of the BeginTransaction method.
Savepoints offer a mechanism to roll back parts of transactions. You create a savepoint using the method, and then later call the Rollback method to roll back to the savepoint instead of rolling back to the start of the transaction.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.