Condividi tramite


Metodo SetSnapshotIsolation

Imposta il livello di isolamento dello snapshot.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub SetSnapshotIsolation ( _
    enabled As Boolean _
)
'Utilizzo
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
)

Parametri

Osservazioni

If True, the snapshot isolation level is enabled.

If False, the snapshot isolation level is disabled.