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