Execute DBCC CHECKCONSTRAINTS with Smo?

285 views Asked by At

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

1

There are 1 answers

0
steoleary On BEST ANSWER

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