다음을 통해 공유


ExcludeReplication Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The ExcludeReplicationproperty controls integrity and FOREIGN KEY constraint enforcement when replicated data is inserted into the columns on which the constraint is defined.

구문

object
.ExcludeReplication [=value]

Part

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write before object creation. Read-only if an existing object is referenced.

Prototype (C/C++)

HRESULT GetExcludeReplication(LPBOOL pRetVal);
HRESULT SetExcludeReplication(BOOL NewValue);

주의

If TRUE, the FOREIGN KEY or integrity constraint is ignored for data inserted by replication.

If FALSE, the FOREIGN KEY or integrity constraint is enforced for data inserted by replication.

Use the ExcludeReplication property to optimize replication data transfer. The property can be safely set if each source table for replicated data enforces the referenced constraint for all other means of adding data.

Applies To: