This documentation is archived and is not being maintained.

SPList.AllowDeletion Property

Windows SharePoint Services 3

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

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

public bool AllowDeletion { get; set; }

Property Value

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