Is there an Smo method that executes TSQLs DBCC CHECKCONSTRAINTS on a database and returns the occuring messages as IEnumerable<String>?

有帮助吗?

解决方案

Doesn't look like, if you have a look at the SMO programming guide for the database class, there isn't anything listed for check constraints:

MSDN - SMO Reference Guide

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top