MergeSynchronizationAgent.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
屬性值
密碼。
實作
備註
可能的話,建議使用者在執行時間輸入安全性認證。 如果您必須儲存認證,請使用所提供的 密碼編譯服務 Microsoft .NET Framework 。
若為發送訂閱,合併代理程式一律會使用 Windows 整合式驗證連接到散發者,並忽略這個屬性。
永遠不會傳回用來連接到散發者的已儲存密碼。 存取這個屬性將會產生 PasswordWriteOnlyException 例外狀況。
只有當設定為時,才會使用這個屬性 DistributorSecurityMode Standard 。
如果未指定「散發者」連接屬性,則會假設「發行者」和「散發者」是相同的實例 SQL Server ,而且在連接到「散發者」時,將會使用「發行者」連接屬性。