dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDataTable Class / Constraints Property

In This Topic
    Constraints Property
    In This Topic
    Gets the collection of constraints maintained by this table.
    Syntax
    'Declaration
     
    Public Shadows ReadOnly Property Constraints As ConstraintCollection
    public new ConstraintCollection Constraints {get;}

    Property Value

    A System.Data.ConstraintCollection that contains the collection of System.Data.Constraint objects for the table; otherwise, a null value if no System.Data.Constraint objects exist.

    This property is read-only.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also