SetSnapshotIsolation 方法
Sets the snapshot isolation level.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub SetSnapshotIsolation ( _
enabled As Boolean _
)
用法
Dim instance As Database
Dim enabled As Boolean
instance.SetSnapshotIsolation(enabled)
public void SetSnapshotIsolation(
bool enabled
)
public:
void SetSnapshotIsolation(
bool enabled
)
member SetSnapshotIsolation :
enabled:bool -> unit
public function SetSnapshotIsolation(
enabled : boolean
)
参数
- enabled
类型: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.