Compartir a través de


SubscriberSecurityMode Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Sintaxis

'Declaración
Public Overridable Property SubscriberSecurityMode As SecurityMode
    Get
    Set
'Uso
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)

Valor de la propiedad

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

Implementa

IMergeSynchronizationAgent. . :: . .SubscriberSecurityMode

Comentarios

Siempre que sea posible, utilice la autenticación de 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.