Compartir a través de


DisallowRowLocks Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property DisallowRowLocks As Boolean
    Get
    Set
'Uso
Dim instance As Index
Dim value As Boolean

value = instance.DisallowRowLocks

instance.DisallowRowLocks = value
[SfcPropertyAttribute]
public bool DisallowRowLocks { get; set; }
[SfcPropertyAttribute]
public:
property bool DisallowRowLocks {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member DisallowRowLocks : bool with get, set
function get DisallowRowLocks () : boolean
function set DisallowRowLocks (value : boolean)

Valor de la propiedad

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

Notas

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