TechNet
Export (0) Print
Expand All

Column.AddDefaultConstraint Method ()

 

Adds a default constraint to the column.

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

public DefaultConstraint AddDefaultConstraint()

Return Value

Type: Microsoft.SqlServer.Management.Smo.DefaultConstraint

A DefaultConstraint object that specifies the default constraint bound to the column.

Return to top
Show:
© 2016 Microsoft