程序集是在SQL Server中运行还是从Windows应用程序运行

Joe*_*Joe 10 c# sql sql-server clr

如何确定程序集是从SQL服务器CLR存储过程运行还是从Windows应用程序运行?