Export (0) Print
Expand All

Column.AddDefaultConstraint Method (String)

Adds a default constraint to the column.

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

public DefaultConstraint AddDefaultConstraint(
	string name
)

Parameters

name
Type: String
A String value that specifies the default constraint to add to the column.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DefaultConstraint
A DefaultConstraint object that specifies the default constraint added to the column.

Community Additions

ADD
Show:
© 2014 Microsoft