Aracılığıyla paylaş


Check.Drop Method

Drops the check constraint.

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

Syntax

'Bildirim
Public Sub Drop
'Kullanım
Dim instance As Check

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit 
override Drop : unit -> unit 
public final function Drop()

Implements

IDroppable.Drop()

Remarks

Not

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

Examples

Calling Methods

See Also

Reference

Check Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Database Objects

CHECK Constraints

CREATE TABLE (Transact-SQL)