Publication.SecureFtpPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為登入帳號設定密碼(作為 SecureString 物件),用於連接允許透過 FTP 初始化訂閱的發佈檔案傳輸協定(FTP)伺服器。
public:
property System::Security::SecureString ^ SecureFtpPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecureFtpPassword { get; set; }
member this.SecureFtpPassword : System.Security.SecureString with get, set
Public Property SecureFtpPassword As SecureString
屬性值
一個 SecureString 值。
備註
該 SecureFtpPassword 屬性在密碼儲存在記憶體中時提供額外的安全性,應取代 FtpPassword。
在執行時,請提示使用者輸入安全憑證。 如果你必須儲存憑證,請使用 Windows .NET 框架提供的加密服務。
密碼從未被回傳。SecureFtpPassword
SecureFtpPassword該屬性只能由 Publisher 固定伺服器角色的成員sysadmin或發佈資料庫中固定資料庫角色的成員db_owner設定。 出版存取清單(PAL)中的使用者可以設定 SecureFtpPassword 現有出版品的屬性。
設定屬性 SecureFtpPassword 等同於執行 sp_addpublication(Transact-SQL) 和 sp_changepublication(Transact-SQL) 或 sp_addmergepublication(Transact-SQL) 和 sp_changemergepublication(Transact-SQL)。