Share via


IDatabaseTable.Constraints Property

Gets a collection of table constraints.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Constraints As IMetadataCollection(Of IConstraint)
    Get
'Usage
Dim instance As IDatabaseTable
Dim value As IMetadataCollection(Of IConstraint)

value = instance.Constraints
IMetadataCollection<IConstraint> Constraints { get; }
property IMetadataCollection<IConstraint^>^ Constraints {
    IMetadataCollection<IConstraint^>^ get ();
}
abstract Constraints : IMetadataCollection<IConstraint>
function get Constraints () : IMetadataCollection<IConstraint>