I have been asked to create a function in SQL Server 2005 that is a CLR hosted function I have created in .NET 3.5. Do CLR functions hosted in SQL have access to App.Config files or do all config options need to be passed as paramaters?

我被要求在SQL Server 2005中创建一个函数,它是我在.NET 3.5中创建的CLR托管函数。 SQL中托管的CLR函数是否可以访问App.Config文件,还是需要将所有配置选项作为参数传递?

1 个解决方案

#1


SQL Server CLR function runs on the server. App.Config is on the client.

SQL Server CLR函数在服务器上运行。 App.Config在客户端。

So, It would not be very logical to me, if a SQL Server CLR function can access the App.Config that is sitting on the client ...

所以,如果一个SQL Server CLR函数可以访问位于客户端的App.Config,那对我来说就没那么合乎逻辑了......

更多相关文章

  1. SQLSERVER2005调试存储过程跟函数
  2. SQL Server中的TextPtr函数
  3. MySQL字符串相加函数如何运行?似曾相识还是记一笔吧
  4. PL\SQL 客户端配置 windows 64 ORACLE 提示:无法检测到对应的数
  5. MySQL图形界面客户端
  6. mysql自定义排序规则函数——field()
  7. oracle基础知识总结 part 3 : 三范式,PLSQL,存储过程,函数,触发器
  8. sql 内置函数 获取表的 列名
  9. 直播技术(从服务端到客户端)一

随机推荐

  1. 关于Android Studio 3.1.3
  2. Android公钥私钥及代码详细解读
  3. 关于Android的阅读界面设计问题
  4. android 中的 odex 文件
  5. Android实现非本地图片的点击效果
  6. [置顶] Android开发的一些小技巧
  7. 【Based Android】android通过criteria选
  8. Android Gallery滑动太快的问题
  9. android-弹出窗口的使用(1)
  10. 使用Fragment后翻转屏崩溃解决办法