MergeSynchronizationAgent.PublisherPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過 SQL Server 認證設定連接 Publisher 時使用的密碼。
public:
virtual property System::String ^ PublisherPassword { System::String ^ get(); void set(System::String ^ value); };
public virtual string PublisherPassword { get; set; }
member this.PublisherPassword : string with get, set
Public Overridable Property PublisherPassword As String
屬性值
使用的密碼。
實作
備註
盡可能使用 Windows 驗證。
在可能的情況下,我們建議使用者在執行時輸入安全憑證。 如果你必須儲存憑證,請使用 Microsoft .NET Framework 提供的密碼學服務。
用於連接 Publisher 的儲存密碼永遠不會被回傳。 存取此屬性會產生 PasswordWriteOnlyException 例外。
此性質僅在 PublisherSecurityMode 設定為 Standard時使用。