Поделиться через


Свойство DisallowRowLocks

Gets or sets the Boolean property value that specifies whether the index allows row locks.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property DisallowRowLocks As Boolean
    Get
    Set
'Применение
Dim instance As Index
Dim value As Boolean

value = instance.DisallowRowLocks

instance.DisallowRowLocks = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public bool DisallowRowLocks { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property bool DisallowRowLocks {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
member DisallowRowLocks : bool with get, set
function get DisallowRowLocks () : boolean
function set DisallowRowLocks (value : boolean)

Значение свойства

Тип: System. . :: . .Boolean
A Boolean value that specifies the whether the index allows row locks.
If True, row locks are not allowed on the index. Otherwise, False (default).

Замечания

When this property is True, row locks are not used. Access to the specified index is obtained with page-level and table-level locks.