Column.AddDefaultConstraint 메서드
Adds a default constraint to the column.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Function AddDefaultConstraint As DefaultConstraint
‘사용 방법
Dim instance As Column
Dim returnValue As DefaultConstraint
returnValue = instance.AddDefaultConstraint()
public DefaultConstraint AddDefaultConstraint()
public:
DefaultConstraint^ AddDefaultConstraint()
member AddDefaultConstraint : unit -> DefaultConstraint
public function AddDefaultConstraint() : DefaultConstraint
반환 값
유형: Microsoft.SqlServer.Management.Smo.DefaultConstraint
A DefaultConstraint object that specifies the default constraint bound to the column.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스