Sdílet prostřednictvím


MergeSynchronizationAgent.DynamicSnapshotLocation Property

Gets or sets the location of the partitioned snapshot for this Subscriber.

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

Syntax

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

value = instance.DynamicSnapshotLocation

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

Property Value

Type: System.String
A String value that represents the full path of the location of the partitioned snapshot files.

Implements

IMergeSynchronizationAgent.DynamicSnapshotLocation

Remarks

The EnumMergeDynamicSnapshotJobs method returns a MergeDynamicSnapshotJob object for each subscription partition defined for a publication. You can obtain the location of the partitioned snapshot for an existing subscription from the DynamicSnapshotLocation property of the object that matches the subscription's partition.