Partager via


Propriété Constraints

Gets a collection of table constraints.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
ReadOnly Property Constraints As IMetadataCollection(Of IConstraint)
    Get
'Utilisation
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>

Valeur de propriété

Type : Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .IMetadataCollection< (Of < ( <'IConstraint> ) > ) >
The IMetadataCollection<(Of <(<'T>)>)> of IConstraint that contains all the table constraints.