Condividi tramite


Proprietà SecurityMode

Get or sets the type of login used when connecting to the Publisher.

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

Sintassi

'Dichiarazione
Public Property SecurityMode As ReplicationSecurityMode
    Get
    Set
'Utilizzo
Dim instance As PublisherConnectionSecurityContext
Dim value As ReplicationSecurityMode

value = instance.SecurityMode

instance.SecurityMode = value
public ReplicationSecurityMode SecurityMode { get; set; }
public:
property ReplicationSecurityMode SecurityMode {
    ReplicationSecurityMode get ();
    void set (ReplicationSecurityMode value);
}
member SecurityMode : ReplicationSecurityMode with get, set
function get SecurityMode () : ReplicationSecurityMode
function set SecurityMode (value : ReplicationSecurityMode)

Osservazioni

Se possibile, utilizzare l'autenticazione di Windows. 

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.