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.

참고 항목

참조

Database 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스