Share via


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.

Applies To:

Check Object

Key Object

참고 항목

관련 자료

ALTER TABLE(Transact-SQL)

도움말 및 정보

SQL Server 2005 지원 받기