Constraints 属性

Gets a collection of table constraints.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
ReadOnly Property Constraints As IMetadataCollection(Of IConstraint)
    Get
用法
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>

属性值

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