select a.name,m.assembly_class,m.assembly_method,ao.type_desc,
su.name,OBJECT_NAME(um.object_id) from sys.assembly_modules m
join sys.assemblies a on a.assembly_id =m.assembly_id
left join sys.module_assembly_usages um on um.assembly_id =a.assembly_id
left join sys.all_objects ao on ao.object_id=um.object_id
left join sys.sysusers su on su.uid=m.execute_as_principal_id
---删除程序集
DROP ASSEMBLY .... WITH NO DEPENDENTS