Partager via


Énumération SnapshotIsolationState

The SnapshotIsolationState enumeration contains values that are used to specify the current state of snapshot isolation.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (dans Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Enumeration SnapshotIsolationState
'Utilisation
Dim instance As SnapshotIsolationState
public enum SnapshotIsolationState
public enum class SnapshotIsolationState
type SnapshotIsolationState
public enum SnapshotIsolationState

Membres

Nom de membre Description
Disabled Snapshot isolation is not currently in effect.
Enabled Snapshot isolation is in effect. If the transaction isolation level is set to snapshot then the versions of updates to a record are stored in the tempdb database.
PendingOff Snapshot isolation is waiting to be disabled when all current transactions commit or roll back.
PendingOn Snapshot isolation is waiting to be enabled when all current transactions commit or roll back.

Notes

The SnapshotIsolationState enumeration class is served by the SnapshotIsolationState property.