Export (0) Print
Expand All

Database.SetSnapshotIsolation Method

Sets the snapshot isolation level.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

'Declaration
Public Sub SetSnapshotIsolation ( _
	enabled As Boolean _
)
'Usage
Dim instance As Database 
Dim enabled As Boolean

instance.SetSnapshotIsolation(enabled)

Parameters

enabled
Type: Boolean
A Boolean value that specifies whether the snapshot isolation level is enabled.

If True, the snapshot isolation level is enabled.

If False, the snapshot isolation level is disabled.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft