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
- name
Type: System.String
The constraint name.
- tableName
Type: System.String
The table name.
- constraintType
Type: Microsoft.SqlServerCe.Management.Scripting.Schema.ConstraintType
The constraint type.