Checked Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The Checked property enables or disables integrity or FOREIGN KEY constraint evaluation for an existing integrity or FOREIGN KEY constraint.
構文
object
.Checked [=value]
Parts
- object
An expression that evaluates to an object in the Applies To list
- value
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write when the SQL Distributed Management Objects (SQL-DMO) object references an existing Microsoft SQL Server component.
Prototype (C/C++)
HRESULT GetChecked(LPBOOL pRetVal);
HRESULT SetChecked(BOOL NewValue);
解説
If TRUE, an attempt is made to enforce an integrity or FOREIGN KEY constraint when rows are added to the table on which the constraint is defined. An error occurs if data fails constraint checking.
If FALSE, no attempt is made to enforce the integrity or FOREIGN KEY constraint when rows are added to the table on which the constraint is defined.