Freigeben über


SubscriberSecurityMode-Eigenschaft

Ruft den Sicherheitsmodus ab, der beim Herstellen einer Verbindung mit dem Abonnenten verwendet wird, oder legt diesen fest.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property SubscriberSecurityMode As SecurityMode
    Get
    Set
'Usage
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)

Eigenschaftswert

Typ: Microsoft.SqlServer.Replication. . :: . .SecurityMode
Ein SecurityMode-Wert, der den Sicherheitsmodus darstellt.

Implementiert

IMergeSynchronizationAgent. . :: . .SubscriberSecurityMode

Hinweise

Verwenden Sie nach Möglichkeit die Windows-Authentifizierung.

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.