DatabaseOptions.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 DatabaseOptions
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. Otherwise, False.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间