ExcludeFromTemplate Property
The ExcludeFromTemplate property of the SPList class gets a Boolean value that indicates whether the content of the list is included when the list is saved as a list template or when the site to which the list belongs is saved as a site template.
Property Value
true if the content of the list is included in the list or site template; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security