語言

TransSynchronizationAgent.SubscriberPassword 屬性

定義

透過 SQL Server 認證取得或設定連接用戶時使用的密碼。

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

屬性值

訂閱者密碼。

實作

備註

盡可能使用 Windows 驗證。

在可能的情況下,我們建議使用者在執行時輸入安全憑證。 如果你必須儲存憑證,請使用 Microsoft .NET Framework 提供的密碼學服務

對於拉取訂閱,散發代理程式 總是透過 Windows 整合驗證在本地連接訂閱者,而此特性會被忽略。

用於連接訂閱者的儲存密碼永遠不會被回傳。 存取此屬性會產生 PasswordWriteOnlyException 例外。

此性質僅在 SubscriberSecurityMode 設定為 Standard時使用。

適用於