MergeSynchronizationAgent.PublisherPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定當使用 SQL Server Authentication 連接到發行者時,所使用的密碼。
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 。
永遠不會傳回用來連接到發行者的儲存密碼。 存取這個屬性將會產生 PasswordWriteOnlyException 例外狀況。
只有當設定為時,才會使用這個屬性 PublisherSecurityMode Standard 。