Compartir a través de


SetSnapshotIsolation Método

Sets the snapshot isolation level.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub SetSnapshotIsolation ( _
    enabled As Boolean _
)
'Uso
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
)

Parámetros

Notas

If True, the snapshot isolation level is enabled.

If False, the snapshot isolation level is disabled.