Dela via


SnapshotGenerationAgent.DynamicSnapshotLocation Property

Gets or sets the location of the partitioned snapshot for a subscription to a merge publication that is defined based-on a parameterized row filter.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property DynamicSnapshotLocation As String
    Get
    Set
'Usage
Dim instance As SnapshotGenerationAgent
Dim value As String

value = instance.DynamicSnapshotLocation

instance.DynamicSnapshotLocation = value
public string DynamicSnapshotLocation { get; set; }
public:
virtual property String^ DynamicSnapshotLocation {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract DynamicSnapshotLocation : string with get, set
override DynamicSnapshotLocation : string with get, set
final function get DynamicSnapshotLocation () : String
final function set DynamicSnapshotLocation (value : String)

Property Value

Type: System.String
A String value that is the full path to location of the snapshot file for the subscriber.

Implements

ISnapshotGenerationAgent.DynamicSnapshotLocation

Remarks

The DynamicSnapshotLocation property is only supported for merge publications.

Specifies the location where the snapshot files are created for a subscription defined based on parameterized row filter.

When a publication supports Subscriber-requested snapshot generation, the Merge Agent will automatically specify this location. For more information, see Snapshots for Merge Publications with Parameterized Filters.