阅读背景:

SSMS可扩展性/插件-获取当前数据库和服务器

来源:互联网 

I am trying to write a SSMS addin for a custom auditing requirement (need to audit all queries ran by users in a production environment). I have the .addin file located in the appropriate folders and it hits the breakpoints in my Connect.Exec method and I am able to get the query statements under selection from the active document. However I am not sure if there is any property or method that I could look up to get the database name and the server the user was connected to ? I am trying to write a SSMS addin for a custom




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: