PublisherConnectionSecurityContext Class

Represents the login used when connecting to the instance of Microsoft SQL Server that is configured as a Publisher in a replication topology.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.PublisherConnectionSecurityContext

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

Syntax

'Declaration
Public NotInheritable Class PublisherConnectionSecurityContext
'Usage
Dim instance As PublisherConnectionSecurityContext
public sealed class PublisherConnectionSecurityContext
public ref class PublisherConnectionSecurityContext sealed
[<SealedAttribute>]
type PublisherConnectionSecurityContext =  class end
public final class PublisherConnectionSecurityContext

The PublisherConnectionSecurityContext type exposes the following members.

Constructors

  Name Description
Public method PublisherConnectionSecurityContext Creates a new instance of the PublisherConnectionSecurityContext class.

Top

Properties

  Name Description
Public property SecureSqlStandardPassword Sets the password (as a SecureString object) for the SqlStandardLogin when using SQL Server Authentication.
Public property SecurityMode Get or sets the type of login used when connecting to the Publisher.
Public property SqlStandardLogin Gets or sets the login when using SQL Server Authentication.
Public property SqlStandardPassword Gets or sets the password for the SqlStandardLogin when using SQL Server Authentication.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Update Updates Publisher login information for the objected associated with this PublisherConnectionSecurityContext object instance.

Top

Remarks

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

Thread Safety

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