Метод Database.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.