This documentation is archived and is not being maintained.

Database.SetSnapshotIsolation Method

Sets the snapshot isolation level.

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

public void SetSnapshotIsolation(
	bool enabled
)

Parameters

enabled
Type: System.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.

Show: