Freigeben über


PublisherConnectionSecurityContext.SecurityMode-Eigenschaft

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)

Eigenschaftswert

Typ: Microsoft.SqlServer.Replication.ReplicationSecurityMode
A ReplicationSecurityMode value.

Hinweise

Verwenden Sie nach Möglichkeit die Windows-Authentifizierung. 

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

Siehe auch

Verweis

PublisherConnectionSecurityContext Klasse

Microsoft.SqlServer.Replication-Namespace