共用方式為


ITransSynchronizationAgent.DistributorPassword 屬性

Sets the password that is used when connecting to the Distributor by using SQL Server Authentication.

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

語法

'宣告
Property DistributorPassword As String 
    Get 
    Set
'用途
Dim instance As ITransSynchronizationAgent 
Dim value As String 

value = instance.DistributorPassword

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

屬性值

型別:System.String
The password associated with the distributor.

請參閱

參考

ITransSynchronizationAgent 介面

Microsoft.SqlServer.Replication 命名空間