Partager via


PublisherConnectionSecurityContext.SecurityMode Property

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

Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntaxe

'Déclaration
Public Property SecurityMode As ReplicationSecurityMode
public ReplicationSecurityMode SecurityMode { get; set; }
public:
property ReplicationSecurityMode SecurityMode {
    ReplicationSecurityMode get ();
    void set (ReplicationSecurityMode value);
}
/** @property */
public ReplicationSecurityMode get_SecurityMode ()

/** @property */
public void set_SecurityMode (ReplicationSecurityMode value)
public function get SecurityMode () : ReplicationSecurityMode

public function set SecurityMode (value : ReplicationSecurityMode)

Valeur de propriété

A ReplicationSecurityMode value.

Notes

Utilisez si possible l'authentification Windows.

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

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

PublisherConnectionSecurityContext Class
PublisherConnectionSecurityContext Members
Microsoft.SqlServer.Replication Namespace