Gets or sets a Boolean value that specifies whether attachments can be added to items in the list.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
The EnableAttachments property does not apply to any list that has a base type of Survey or DocumentLibrary. If you set this property to true for either type of list, it throws an SPException.