Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top