Public Property EnableAttachments As Boolean
Dim instance As SPList Dim value As Boolean value = instance.EnableAttachments instance.EnableAttachments = value
public bool EnableAttachments { get; set; }
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.