Share via


Constraint.ConstraintType Property

Gets the type of constraint the Constraint represents.

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

Syntax

'Declaration
Public ReadOnly Property ConstraintType As ConstraintType
    Get
'Usage
Dim instance As Constraint
Dim value As ConstraintType

value = instance.ConstraintType
public ConstraintType ConstraintType { get; }
public:
property ConstraintType ConstraintType {
    ConstraintType get ();
}
member ConstraintType : ConstraintType
function get ConstraintType () : ConstraintType

Property Value

Type: Microsoft.SqlServerCe.Management.Scripting.Schema.ConstraintType
The constraint type.

See Also

Reference

Constraint Class

Microsoft.SqlServerCe.Management.Scripting.Schema Namespace