Publication.FtpSubdirectory 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在檔案傳輸協定(FTP)伺服器電腦上取得或設定允許透過 FTP 訂閱初始化的出版品子目錄。
public:
property System::String ^ FtpSubdirectory { System::String ^ get(); void set(System::String ^ value); };
public string FtpSubdirectory { get; set; }
member this.FtpSubdirectory : string with get, set
Public Property FtpSubdirectory As String
屬性值
FTP 伺服器上的子目錄。
備註
合併代理程式 或 散發代理程式 利用此特性在 FTP 伺服器上定位快照檔案。
<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>該屬性僅能由 Publisher 固定伺服器角色的成員sysadmin、出版資料庫中固定資料庫角色的成員db_owner,或出版存取清單(PAL)中的使用者取得。
<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>該屬性只能由 Publisher 固定伺服器角色的成員sysadmin或發佈資料庫中固定資料庫角色的成員db_owner設定。 PAL 中的使用者可以設定 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 現有出版品的屬性。
取回 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 該財產等同於執行 sp_helppublication(Transact-SQL) 或 sp_helpmergepublication(Transact-SQL)。
設定屬性 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 等同於執行 sp_addpublication(Transact-SQL) 和 sp_changepublication(Transact-SQL) 或 sp_addmergepublication(Transact-SQL) 和 sp_changemergepublication(Transact-SQL)。