Jaa


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
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)

Property Value

A ReplicationSecurityMode value.

Remarks

When possible, use Windows Authentication.

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PublisherConnectionSecurityContext Class
PublisherConnectionSecurityContext Members
Microsoft.SqlServer.Replication Namespace