On SQL Server, the sys.objects table includes \"Type\" and \"Type_Desc\" attributes. For example, for one of my DBs:
SELECT DISTINCT [Type], Type_Desc FROM Sys.O
For SQL 2016 this is new:
SP = Security Policy