共用方式為


TransSynchronizationAgent.DistributorEncryptedPassword 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the encrypted password that is used when connecting to the distributor by using SQL Server Authentication.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property DistributorEncryptedPassword As String 
    Get 
    Set
'用途
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.DistributorEncryptedPassword

instance.DistributorEncryptedPassword = value
public virtual string DistributorEncryptedPassword { get; set; }
public:
virtual property String^ DistributorEncryptedPassword {
    String^ get ();
    void set (String^ value);
}
abstract DistributorEncryptedPassword : string with get, set 
override DistributorEncryptedPassword : string with get, set
function get DistributorEncryptedPassword () : String 
function set DistributorEncryptedPassword (value : String)

屬性值

型別:System.String
The encrypted password used.

實作

ITransSynchronizationAgent.DistributorEncryptedPassword

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間