Share via


SPList.AllowDeletion property

Gets or sets a Boolean value specifying whether the list can be deleted.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

public bool AllowDeletion { get; set; }

Property value

Type: System.Boolean
true if the list can be deleted; otherwise, false.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace