Publication.FtpAddress 屬性

定義

取得或設定檔案傳輸協定(FTP)伺服器電腦的位址,以支援允許透過 FTP 訂閱初始化的出版品。

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

屬性值

FTP 伺服器的位址。

備註

FtpAddress該屬性僅能由 Publisher 固定伺服器角色的成員sysadmin、出版資料庫中固定資料庫角色的成員db_owner,或出版存取清單(PAL)中的使用者取得。

FtpAddress該屬性只能由 Publisher 固定伺服器角色的成員sysadmin或發佈資料庫中固定資料庫角色的成員db_owner設定。 PAL 中的使用者可以設定 FtpAddress 現有出版品的屬性。

取回 FtpAddress 該財產等同於執行 sp_helppublication(Transact-SQL)sp_helpmergepublication(Transact-SQL)

設定屬性 FtpAddress 等同於執行 sp_addpublication(Transact-SQL)sp_changepublication(Transact-SQL)sp_addmergepublication(Transact-SQL)sp_changemergepublication(Transact-SQL)

適用於