Share via


setSavepoint Method ()

Creates an unnamed savepoint in the current transaction, and returns the new SQLServerSavepoint object that represents it.

Syntax

public java.sql.Savepoint setSavepoint()

Return Value

A SavePoint object.

Exceptions

SQLServerException

Remarks

This setSavePoint method is specified by the setSavePoint method in the java.sql.Connection interface.

See Also

Reference

SQLServerConnection Class

Concepts

setSavepoint Method (SQLServerConnection)

SQLServerConnection Members