ITableElementContainer.TableConstraints 属性

获取表约束的列表。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
ReadOnly Property TableConstraints As IList(Of Constraint)
    Get
IList<Constraint> TableConstraints { get; }
property IList<Constraint^>^ TableConstraints {
    IList<Constraint^>^ get ();
}
abstract TableConstraints : IList<Constraint>
function get TableConstraints () : IList<Constraint>

属性值

类型:System.Collections.Generic.IList<Constraint>

备注

只有当数据类型是表时,列表才有效。

.NET Framework 安全性

请参见

参考

ITableElementContainer 接口

Microsoft.Data.Schema.ScriptDom.Sql 命名空间