共用方式為


AltSnapshotFolder 屬性

Gets or sets the alternate snapshot folder for the subscription.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property AltSnapshotFolder As String
    Get
    Set
'用途
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)

屬性值

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

實作

IMergeSynchronizationAgent. . :: . .AltSnapshotFolder

備註

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.