SubscriberSecurityMode 属性

Gets or sets the security mode used when connecting to the Subscriber.

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

语法

声明
Public Overridable Property SubscriberSecurityMode As SecurityMode
    Get
    Set
用法
Dim instance As MergeSynchronizationAgent
Dim value As SecurityMode

value = instance.SubscriberSecurityMode

instance.SubscriberSecurityMode = value
public virtual SecurityMode SubscriberSecurityMode { get; set; }
public:
virtual property SecurityMode SubscriberSecurityMode {
    SecurityMode get ();
    void set (SecurityMode value);
}
abstract SubscriberSecurityMode : SecurityMode with get, set
override SubscriberSecurityMode : SecurityMode with get, set
function get SubscriberSecurityMode () : SecurityMode
function set SubscriberSecurityMode (value : SecurityMode)

属性值

类型:Microsoft.SqlServer.Replication. . :: . .SecurityMode
A SecurityMode value that represents the security mode.

实现

IMergeSynchronizationAgent. . :: . .SubscriberSecurityMode

注释

请尽可能使用 Windows 身份验证。

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

If the value is Standard, the PublisherLogin and PublisherPassword properties must also be specified.