dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Transaction Class / Rollback Method / Rollback(String) Method
The name of the savepoint.

In This Topic
    Rollback(String) Method
    In This Topic
    Rolls back a database transaction to a savepoint within the current transaction.
    Syntax
    'Declaration
     
    Public Overloads Sub Rollback( _
       ByVal savePointName As String _
    ) 
    public void Rollback( 
       string savePointName
    )

    Parameters

    savePointName
    The name of the savepoint.
    Remarks
    After a rollback to a savepoint, the current transaction remains active and can be used for further operations.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    DB2Transaction Class
    DB2Transaction Members
    Overload List
    BeginTransaction Method
    Commit Method
    Devart.Data.DB2.DB2Transaction.Save(System.String)