DynamicSnapshotLocation Property

Replication Programming

Replication Programming

DynamicSnapshotLocation Property

The DynamicSnapshotLocation property returns or sets the path to a folder to which the files are to be written when a dynamic snapshot is created.

Applies To

SQLSnapshot Object

Syntax

object.DynamicSnapshotLocation [= path]

Part Description
object Expression that evaluates to a SQLSnapshot object.
path Path of the folder to which the files of a dynamic snapshot are to be written.
Remarks

The DynamicSnapshotLocation property applies only to snapshots created for Merge publications.

The snapshot folder path must include a UNC or FTP designator, for example:

   objMerge.DynamicSnapshotLocation = _
      "file:\\Distributor\Backup\Snapshots"
   objDistr.DynamicSnapshotLocation = _
      "ftp://distributor.company.com/backup/snapshots,1433"
Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_DynamicSnapshotLocation(BSTR *pVal);

HRESULT put_DynamicSnapshotLocation(BSTR newVal);