MergePullSubscription.SecureInternetPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定使用 HTTP Basic 認證連接網頁伺服器時使用的密碼(作為 SecureString 物件)。
public:
property System::Security::SecureString ^ SecureInternetPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecureInternetPassword { get; set; }
member this.SecureInternetPassword : System.Security.SecureString with get, set
Public Property SecureInternetPassword As SecureString
屬性值
一個 SecureString 值。
備註
該 SecureInternetPassword 屬性在密碼儲存在記憶體中時提供額外的安全性,應取代 InternetPassword。
可能的話,會在執行階段提示使用者輸入安全性認證。 如果你必須儲存憑證,請使用 Microsoft Windows .NET Framework 提供的加密服務。
密碼從未被回傳。SecureInternetPassword
你應該使用 BasicAuthentication 網頁同步。 如需詳細資訊,請參閱< Web Synchronization for Merge Replication>。
此 SecureInternetPassword 屬性僅能由訂閱者系統 管理員 固定伺服器角色的成員或訂閱資料庫中 db_owner 固定資料庫角色的成員設定。
設定屬性 SecureInternetPassword 等同於執行 sp_addmergepullsubscription_agent 或 sp_changemergepullsubscription。
此性質僅在該 UseWebSynchronization 性質為 真時使用。