PreCreationMethod Property (SQL-DMO)

The PreCreationMethod property controls Subscriber replication object changes when article synchronization occurs.

Applies To
MergeArticle Object TransArticle Object

Syntax

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

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

Data Type

Long, enumerated.

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetPreCreationMethod(
SQLDMO_PREARTICLE_TYPE* pRetVal);

HRESULT SetPreCreationMethod(
SQLDMO_PREARTICLE_TYPE NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.