PullSubscription.UseFtp 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定同步代理是否透過檔案傳輸協定(FTP)存取初始化拉取訂閱所需的快照檔案。
public:
property bool UseFtp { bool get(); void set(bool value); };
public bool UseFtp { get; set; }
member this.UseFtp : bool with get, set
Public Property UseFtp As Boolean
屬性值
一個 Boolean 值。 若 true,則使用 FTP 協定下載快照檔案。 若 false,快照檔案並未使用 FTP 協定下載。
備註
AltSnapshotFolder當 UseFtp 設定為 true時,該屬性無法被設定為 true 。
UseFtp該屬性僅能由訂閱者中固定伺服器角色的成員sysadmin或訂閱資料庫中固定資料庫角色的成員db_owner取得。
該 UseFtp 屬性只能由訂閱者中固定 sysadmin 伺服器角色的成員,或訂閱資料庫中固定 db_owner 資料庫角色的成員設定。
取回 UseFtp 該財產等同於執行 sp_helppullsubscription(Transact-SQL) 或 sp_helpmergepullsubscription(Transact-SQL)。
設定屬性 UseFtp 等同於執行 sp_addpullsubscription_agent (Transact-SQL)、 sp_addmergepullsubscription_agent (Transact-SQL)、 sp_change_subscription_properties (Transact-SQL)或 sp_changemergepullsubscription (Transact-SQL)。