Partager via


Propriété AltSnapshotFolder

Gets or sets the alternate snapshot folder for the subscription.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property AltSnapshotFolder As String
    Get
    Set
'Utilisation
Dim instance As TransSynchronizationAgent
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)

Valeur de propriété

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

Implémente

ITransSynchronizationAgent. . :: . .AltSnapshotFolder

Notes

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.