Publication.FtpPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定用於連接檔案傳輸協定(FTP)伺服器的登入密碼,適用於允許透過 FTP 初始化訂閱的出版品。
public:
property System::String ^ FtpPassword { System::String ^ get(); void set(System::String ^ value); };
public string FtpPassword { get; set; }
member this.FtpPassword : string with get, set
Public Property FtpPassword As String
屬性值
一個 String 指定連接 FTP 伺服器電腦所用密碼的值。
備註
該 FtpPassword 屬性總是回傳空字串。
FtpPassword該屬性只能由 Publisher 固定伺服器角色的成員sysadmin或發佈資料庫中固定資料庫角色的成員db_owner設定。 出版存取清單(PAL)中的使用者可以設定 FtpPassword 現有出版品的屬性。
設定屬性 FtpPassword 等同於執行 sp_addpublication(Transact-SQL) 和 sp_changepublication(Transact-SQL) 或 sp_addmergepublication(Transact-SQL) 和 sp_changemergepublication(Transact-SQL)。