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.