다음을 통해 공유


Constraint 생성자

Constraint 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.SqlServerCe.Management.Scripting.Schema
어셈블리:  Microsoft.SqlServerCe.Management.Scripting(Microsoft.SqlServerCe.Management.Scripting.dll)

구문

‘선언
Protected Sub New ( _
    name As String, _
    tableName As String, _
    constraintType As ConstraintType _
)
‘사용 방법
Dim name As String
Dim tableName As String
Dim constraintType As ConstraintType

Dim instance As New Constraint(name, tableName, _
    constraintType)
protected Constraint(
    string name,
    string tableName,
    ConstraintType constraintType
)
protected:
Constraint(
    String^ name, 
    String^ tableName, 
    ConstraintType constraintType
)
new : 
        name:string * 
        tableName:string * 
        constraintType:ConstraintType -> Constraint
protected function Constraint(
    name : String, 
    tableName : String, 
    constraintType : ConstraintType
)

매개 변수

참고 항목

참조

Constraint 클래스

Microsoft.SqlServerCe.Management.Scripting.Schema 네임스페이스