Investors & landlords

I have seen solar panels elsewhere described as 5 year properties, and am trying to find the very same answer for myself. So far I have found conflicting info, and IRS pubs of no help...