SQL 缓存依赖项设置

下面的命令为 Northwind 数据库中的 Employees 表启用 SQL 缓存依赖项
aspnet_regsql.exe -S <Server> -U <Username> -P <Password> -ed -d Northwind -et -t Employees
如果是windows集成登陆,命令改为:
aspnet_regsql.exe -S <Server> -E -ed -d Northwind -et -t Employees

官方文档:
http://msdn.microsoft.com/zh-cn/library/ms229862(vs.80).aspx

posted @ 2010-08-20 09:09  lightwalker  阅读(191)  评论(0编辑  收藏  举报