SnapshotMethod Property (SQL-DMO)

The SnapshotMethod property controls creation of the initial snapshot of published article data.

Applies To
MergePublication Object TransPublication Object

Syntax

object.SnapshotMethod [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer specifying snapshot creation parameters as described in Settings

Settings
Constant Value Description
SQLDMOInitSync_BCPChar 1 Use SQL Server bulk copying in character data format to transfer data for initial synchronization
SQLDMOInitSync_BCPNative 0 Use SQL Server bulk copying in native data format to transfer data for initial synchronization
SQLDMOInitSync_Default 0 SQLDMOInitSync_
BCPNative

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSnapshotMethod(SQLDMO_INITIALSYNC_TYPE* pRetVal);

HRESULT SetSnapshotMethod(SQLDMO_INITIALSYNC_TYPE NewValue);

  


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