次の方法で共有


MergeSynchronizationAgent.DistributorLogin プロパティ

Gets or sets the login name that is used when connecting to the Distributor using SQL Server Authentication.

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
Public Overridable Property DistributorLogin As String 
    Get 
    Set
'使用
Dim instance As MergeSynchronizationAgent 
Dim value As String 

value = instance.DistributorLogin

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

プロパティ値

型: System.String
A String value that is the login name.

実装

IMergeSynchronizationAgent.DistributorLogin

説明

This property is required if the DistributorSecurityMode property is set to Standard.

For a push subscription, the Merge Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.

If the Distributor connection properties are not specified, it is assumed that the Publisher and Distributor are the same instance of SQL Server and that the Publisher connection properties are used when connecting to the Distributor.

関連項目

参照

MergeSynchronizationAgent クラス

Microsoft.SqlServer.Replication 名前空間