Execute DBCC CHECKCONSTRAINTS with Smo?

293 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 best solutions below

0
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