SnapshotAvailable Property

SQL-DMO

SQL-DMO

SnapshotAvailable Property

The SnapshotAvailable property is TRUE when an initial snapshot of article data is available to Subscribers.

Applies To
MergePublication Object TransPublication Object
Syntax

object.SnapshotAvailable [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSnapshotAvailable(LPBOOL pRetVal);

HRESULT SetSnapshotAvailable(BOOL NewValue);

Remarks

When used with the TransPublication object, the SnapshotAvailable property is not defined and always returns False if the publication is not set for immediate synchronization.