語言

PullSubscription.AltSnapshotFolder 屬性

定義

當預設的分發器快照位置未被使用時,取得或設定發佈快照檔案的取得位置。

public:
 property System::String ^ AltSnapshotFolder { System::String ^ get(); void set(System::String ^ value); };
public string AltSnapshotFolder { get; set; }
member this.AltSnapshotFolder : string with get, set
Public Property AltSnapshotFolder As String

屬性值

一個 String 代表替代快照位置完整路徑的值。

備註

當需要透過昂貴連線傳輸大量資料時,此選項非常有用。

AltSnapshotFolder該屬性僅能由訂閱者中固定伺服器角色的成員sysadmin或訂閱資料庫中固定資料庫角色的成員db_owner取得。

AltSnapshotFolder 屬性只能由訂閱者中固定 sysadmin 伺服器角色的成員,或訂閱資料庫中固定 db_owner 資料庫角色的成員設定。

取回 AltSnapshotFolder 該財產等同於執行 sp_helppullsubscription(Transact-SQL)sp_helpmergepullsubscription(Transact-SQL)

設定屬性 AltSnapshotFolder 等同於執行 sp_addpullsubscription_agent (Transact-SQL)sp_addmergepullsubscription_agent (Transact-SQL)sp_change_subscription_properties (Transact-SQL)sp_changemergepullsubscription (Transact-SQL)

適用於