TableDefinition.TableConstraints Property
Gets or sets the table constraints, only valid if data type is table.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public ReadOnly Property TableConstraints As IList(Of ConstraintDefinition)
Get
'Usage
Dim instance As TableDefinition
Dim value As IList(Of ConstraintDefinition)
value = instance.TableConstraints
public IList<ConstraintDefinition> TableConstraints { get; }
public:
property IList<ConstraintDefinition^>^ TableConstraints {
IList<ConstraintDefinition^>^ get ();
}
member TableConstraints : IList<ConstraintDefinition>
function get TableConstraints () : IList<ConstraintDefinition>
Property Value
Type: System.Collections.Generic.IList<ConstraintDefinition>
The table constraints.