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 的硬件和软件要求。