Export (0) Print
Expand All
Expand Minimize

SyncType Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The SyncType property controls subscription agent behavior when subscription synchronization is required.


object
.SyncType [=value]

object

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

value

A long integer that specifies subscription agent synchronization behavior as described in Settings.

Long, enumerated

Read/write

HRESULT GetSyncType(SQLDMO_SUBSYNC_TYPE FAR* pRetVal);
HRESULT SetSyncType(SQLDMO_SUBSYNC_TYPE NewValue);

Constant

Value

Description

SQLDMOSubSync_Auto

1

The subscription agent synchronizes the subscription automatically..

SQLDMOSubSync_Default

1

SQLDMOSubSync_Auto.

SQLDMOSubSync_Manual

0

Maintained for backward compatibility.

SQLDMOSubSync_None

2

The subscription agent does not attempt publication synchronization. User interaction is necessary to ensure synchronization.

If an application sets SyncTypeafter the initial snapshot has been created, this subscription will be reinitialized and must by resynchronized. Reinitialization occurs when the next scheduled merge agent runs.

Community Additions

ADD
Show:
© 2014 Microsoft