The SnapshotMethod property controls creation of the initial snapshot of published article data.
| MergePublication Object | TransPublication Object |
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 |
| 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 |
Long, enumerated
Read/write
HRESULT GetSnapshotMethod(SQLDMO_INITIALSYNC_TYPE* pRetVal);
HRESULT SetSnapshotMethod(SQLDMO_INITIALSYNC_TYPE NewValue);