Condividi tramite


Proprietà MergeSynchronizationAgent.SubscriberSecurityMode

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

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

Valore proprietà

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

Implementa

IMergeSynchronizationAgent.SubscriberSecurityMode

Osservazioni

Se possibile, utilizzare l'autenticazione di 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.

Vedere anche

Riferimento

MergeSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication