Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 Smo 方法可以DBCC CHECKCONSTRAINTS在数据库上执行 TSQL 并将出现的消息返回为IEnumerable<String>?
DBCC CHECKCONSTRAINTS
IEnumerable<String>
看起来不像,如果您查看数据库类的 SMO 编程指南,没有列出任何检查约束:
MSDN - SMO 参考指南