Partilhar via


SPWebApplication.CascadeDeleteMaximumItemLimit Property

Gets or sets the maximum number of items that can be checked in aCascade or Restrict delete operation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property CascadeDeleteMaximumItemLimit As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.CascadeDeleteMaximumItemLimit

instance.CascadeDeleteMaximumItemLimit = value
public int CascadeDeleteMaximumItemLimit { get; set; }

Property Value

Type: System.Int32
Int32
The Cascade delete maximum item limit.

Remarks

Together with the CascadeDeleteTimeoutMultiplier property, the CascadeDeleteMaximumItemLimit property controlsthe duration of a short-term Web site lock that is taken to perform referential integrity delete operations. The duration of the short-term Web site lock is calculated as follows in milliseconds:CascadeDeleteTimeoutMultiplier * CascadeDeleteMaximumItemLimit.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace