Constraint Constructor

Initializes a new instance of the Constraint class.

Namespace:  Microsoft.SqlServerCe.Management.Scripting.Schema
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    tableName As String, _
    constraintType As ConstraintType _
)
'Usage
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
)

Parameters

See Also

Reference

Constraint Class

Microsoft.SqlServerCe.Management.Scripting.Schema Namespace