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)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)] public bool CloseCursorsOnCommitEnabled { get; set; }
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.
