Check.Create Method ()


Creates a check constraint on the instance of Microsoft SQL Server as defined by the Check object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Create()


For check constraints based on the UserDefinedTableType object this method generates an exception because user-defined data types cannot be modified.

Return to top