SetSnapshotIsolation 方法
設定快照集隔離等級。
命名空間: 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
Boolean 值,這個值會指定是否啟用快照集隔離等級。
備註
If True, the snapshot isolation level is enabled.
If False, the snapshot isolation level is disabled.