Share via


MergeSynchronizationAgent.AltSnapshotFolder Property

Gets or sets the alternate snapshot folder for the subscription.

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

Syntax

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

value = instance.AltSnapshotFolder

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

Property Value

Type: System.String
A String value that is the path of the alternate snapshot folder.

Implements

IMergeSynchronizationAgent.AltSnapshotFolder

Remarks

The snapshot folder path must include a Universal Naming Convention (UNC) or File Transfer Protocol (FTP) designator, such as "file:\\Distributor\Backup\Snapshots" for a file share and "ftp://distributor.example.com/backup/snapshots,1433" for an FTP location.