Database.CloseCursorsOnCommitEnabled Property
SQL Server 2012
Gets or sets a value that specifies whether the CURSOR_CLOSE_ON_COMMIT database option is active.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
final function get CloseCursorsOnCommitEnabled () : boolean final function set CloseCursorsOnCommitEnabled (value : boolean)
Property Value
Type: System.BooleanA Boolean value that specifies whether the CloseCursorsOnCommitEnabled database option is set. If True, the cursor is closed when a transaction commits. If False (default), the cursor is not closed when a transaction commits.
