Jaa


IsSnapshotRequired Method (Replication ActiveX)

The IsSnapshotRequired Method connects to the Publisher or Distributor and the Subscriber to determine if a new snapshot will be applied during the next agent Run Method (Replication ActiveX).

Syntax

object.IsSnapshotRequired 
Part Description

object

Expression that evaluates to an object in the Applies To list.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Return Value

A Boolean value that specifies whether a new snapshot will be applied during the next replication agent run to synchronize the subscription. If True, a new snapshot will be applied. If False, a new snapshot will not be applied.

Remarks

You must call Initialize Method (Replication ActiveX) before calling IsSnapshotRequired.

Prototype (C/C++)

HRESULT IsSnapshotRequired( );