The PreCreationMethod property controls Subscriber replication object changes when article synchronization occurs.
| MergeArticle Object | TransArticle Object | 
object.PreCreationMethod [= value]
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list | 
| value | Long integer specifying a row modifying action at the Subscriber as described in Settings | 
| Constant | Value | Description | 
|---|---|---|
| SQLDMOPreArt_DeleteRows | 2 | Perform a logged delete prior to synchronization | 
| SQLDMOPreArt_DropTable | 1 | Drop and re-create table to synchronize | 
| SQLDMOPreArt_None | 0 | Do nothing prior to synchronization | 
| SQLDMOPreArt_TruncateTable | 3 | Perform a nonlogged delete prior to synchronization | 
Long, enumerated.
Read/write
HRESULT GetPreCreationMethod(
SQLDMO_PREARTICLE_TYPE* pRetVal);
HRESULT SetPreCreationMethod(
SQLDMO_PREARTICLE_TYPE NewValue);