共用方式為


Database.SnapshotIsolationState 屬性

Gets the snapshot isolation state for the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property SnapshotIsolationState As SnapshotIsolationState 
    Get
'用途
Dim instance As Database 
Dim value As SnapshotIsolationState 

value = instance.SnapshotIsolationState
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public SnapshotIsolationState SnapshotIsolationState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property SnapshotIsolationState SnapshotIsolationState {
    SnapshotIsolationState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member SnapshotIsolationState : SnapshotIsolationState
function get SnapshotIsolationState () : SnapshotIsolationState

屬性值

型別:Microsoft.SqlServer.Management.Smo.SnapshotIsolationState
A SnapshotIsolationState object value that specifies the snapshot isolation state of the database.

備註

Snapshot isolation (or row-level versioning) is an isolation level in SQL Server.

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用資料列版本設定式的隔離等級