Partager via


Méthode SetSnapshotIsolation

Sets the snapshot isolation level.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub SetSnapshotIsolation ( _
    enabled As Boolean _
)
'Utilisation
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
)

Paramètres

  • enabled
    Type : System. . :: . .Boolean
    A Boolean value that specifies whether the snapshot isolation level is enabled.
    If True, the snapshot isolation level is enabled. Otherwise, False.