RollbackTransaction Method

SQLServer Object

Description

Rolls back an open transaction.

Visual Basic

SQLServer.RollbackTransaction ( [[TransactionOrSavepointName :=] idTransactionOrSavepoint] )

C++

HRESULT pSQLServer->RollbackTransaction ( SQLOLE_LPCSTR idTransactionOrSavepoint = NULL );

Elements

Element Type Description

idTransactionOrSavepoint Identifier The transaction name

Reference

ROLLBACK TRANSACTION