MergeSynchronizationAgent.PublisherPassword 屬性

定義

設定當使用 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

屬性值

String

使用的密碼。

實作

備註

盡可能使用 Windows 驗證。

可能的話,建議使用者在執行時間輸入安全性認證。 如果您必須儲存認證,請使用所提供的 密碼編譯服務 Microsoft .NET Framework 。

永遠不會傳回用來連接到發行者的儲存密碼。 存取這個屬性將會產生 PasswordWriteOnlyException 例外狀況。

只有當設定為時,才會使用這個屬性 PublisherSecurityMode Standard

適用於