다음을 통해 공유


SetSnapshotIsolation 메서드

Sets the snapshot isolation level.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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.

예제

속성 설정