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.)