The SnapshotIsolationState enumeration contains values that are used to specify the current state of snapshot isolation.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
Public Enumeration SnapshotIsolationState
public enum SnapshotIsolationState
public enum class SnapshotIsolationState
public enum SnapshotIsolationState
public enum SnapshotIsolationState
Members
| Member name | 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. |
備註
The SnapshotIsolationState enumeration class is served by the SnapshotIsolationState property.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。