MergeSynchronizationAgent.SubscriberLogin 属性

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

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Overridable Property SubscriberLogin As String 
    Get 
    Set
用法
Dim instance As MergeSynchronizationAgent 
Dim value As String 

value = instance.SubscriberLogin

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

属性值

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

实现

IMergeSynchronizationAgent.SubscriberLogin

注释

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

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

请参阅

参考

MergeSynchronizationAgent 类

Microsoft.SqlServer.Replication 命名空间