Compartir a través de


TransSynchronizationAgent.DistributorSecurityMode Propiedad

Gets or sets the security mode that is used when connecting to the distributor.

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

Sintaxis

'Declaración
Public Overridable Property DistributorSecurityMode As SecurityMode 
    Get 
    Set
'Uso
Dim instance As TransSynchronizationAgent 
Dim value As SecurityMode 

value = instance.DistributorSecurityMode

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

Valor de la propiedad

Tipo: Microsoft.SqlServer.Replication.SecurityMode
The security mode.

Implementa

ITransSynchronizationAgent.DistributorSecurityMode

Comentarios

Siempre que sea posible, utilice la autenticación de Windows.

If the value is Standard, the DistributorLogin and DistributorPassword properties must also be specified.

For a push subscription, the Distribution Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.

Vea también

Referencia

TransSynchronizationAgent Clase

Espacio de nombres Microsoft.SqlServer.Replication