共用方式為


IDatabaseOptions.IsReadCommittedSnapshotOn 屬性

Gets a value that specifies whether transactions with the read committed isolation level use row versioning.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_IsReadCommittedSnapshotOnDesc")> _
<DisplayNameKeyAttribute("Database_IsReadCommittedSnapshotOnName")> _
Property IsReadCommittedSnapshotOn As Boolean 
    Get 
    Set
'用途
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.IsReadCommittedSnapshotOn

instance.IsReadCommittedSnapshotOn = value
[DisplayDescriptionKeyAttribute("Database_IsReadCommittedSnapshotOnDesc")]
[DisplayNameKeyAttribute("Database_IsReadCommittedSnapshotOnName")]
bool IsReadCommittedSnapshotOn { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_IsReadCommittedSnapshotOnDesc")]
[DisplayNameKeyAttribute(L"Database_IsReadCommittedSnapshotOnName")]
property bool IsReadCommittedSnapshotOn {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_IsReadCommittedSnapshotOnDesc")>]
[<DisplayNameKeyAttribute("Database_IsReadCommittedSnapshotOnName")>]
abstract IsReadCommittedSnapshotOn : bool with get, set
function get IsReadCommittedSnapshotOn () : boolean 
function set IsReadCommittedSnapshotOn (value : boolean)

屬性值

型別:System.Boolean
A Boolean value that indicates whether transactions with the read committed isolation level use row versioning.If True, the transactions use row versioning. Otherwise, False (default.)

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間