PublisherConnectionSecurityContext.SecurityMode Property

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

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

Syntax

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

Remarks

When possible, use Windows Authentication. 

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