Share via


Column.AddDefaultConstraint Method

Definition

Overloads

AddDefaultConstraint()
AddDefaultConstraint(String)

AddDefaultConstraint()

public Microsoft.SqlServer.Management.Smo.DefaultConstraint AddDefaultConstraint ();
member this.AddDefaultConstraint : unit -> Microsoft.SqlServer.Management.Smo.DefaultConstraint
Public Function AddDefaultConstraint () As DefaultConstraint

Returns

Applies to

AddDefaultConstraint(String)

public Microsoft.SqlServer.Management.Smo.DefaultConstraint AddDefaultConstraint (string name);
member this.AddDefaultConstraint : string -> Microsoft.SqlServer.Management.Smo.DefaultConstraint
Public Function AddDefaultConstraint (name As String) As DefaultConstraint

Parameters

name
String

Returns

Applies to