TransSynchronizationAgent.DistributorPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過 SQL Server 認證取得或設定連接分發器時使用的密碼。
public:
virtual property System::String ^ DistributorPassword { System::String ^ get(); void set(System::String ^ value); };
public virtual string DistributorPassword { get; set; }
member this.DistributorPassword : string with get, set
Public Overridable Property DistributorPassword As String
屬性值
使用的密碼。
實作
備註
盡可能使用 Windows 驗證。
在可能的情況下,我們建議使用者在執行時輸入安全憑證。 如果你必須儲存憑證,請使用 Microsoft .NET Framework 提供的密碼學服務。
對於推送訂閱,散發代理程式 總是透過 Windows Integrated Authentication 與本地的 Distributor 連接,而此特性會被忽略。
用於連接分銷商的儲存密碼永遠不會被歸還。 存取此屬性會產生 PasswordWriteOnlyException 例外。
此性質僅在 DistributorSecurityMode 設定為 Standard時使用。