다음을 통해 공유


TableDefinition.TableConstraints 속성

Gets or sets the table constraints, only valid if data type is table.

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

구문

‘선언
Public ReadOnly Property TableConstraints As IList(Of ConstraintDefinition)
    Get
‘사용 방법
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>

속성 값

유형: System.Collections.Generic.IList<ConstraintDefinition>
The table constraints.

참고 항목

참조

TableDefinition 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스