Constraint Class

Class representing the information for a given constraint.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServerCe.Management.Scripting.Schema.Constraint
    Microsoft.SqlServerCe.Management.Scripting.Schema.FKConstraint
    Microsoft.SqlServerCe.Management.Scripting.Schema.PKConstraint
    Microsoft.SqlServerCe.Management.Scripting.Schema.UQConstraint

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

Syntax

'Declaration
Public MustInherit Class Constraint
'Usage
Dim instance As Constraint
public abstract class Constraint
public ref class Constraint abstract
[<AbstractClassAttribute>]
type Constraint =  class end
public abstract class Constraint

The Constraint type exposes the following members.

Constructors

  Name Description
Protected method Constraint Initializes a new instance of the Constraint class.

Top

Properties

  Name Description
Public property Columns Gets the list of columns participating for a given constraint.
Public property ConstraintType Gets the type of constraint the Constraint represents.
Public property Name Gets the constraint name of the specified Constraint object.
Public property TableName Get the table name for the specified Constraint object..

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServerCe.Management.Scripting.Schema Namespace