ConnectionSecurityContext Class

Definition

Represents information you use when you connect to Microsoft SQL Server.

public ref class ConnectionSecurityContext sealed : Microsoft::SqlServer::Replication::IConnectionSecurityContext
public sealed class ConnectionSecurityContext : Microsoft.SqlServer.Replication.IConnectionSecurityContext
type ConnectionSecurityContext = class
    interface IConnectionSecurityContext
Public NotInheritable Class ConnectionSecurityContext
Implements IConnectionSecurityContext
Inheritance
ConnectionSecurityContext
Implements

Remarks

A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. When possible, use Windows Authentication.

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

Constructors

ConnectionSecurityContext()

Initializes a new instance of the ConnectionSecurityContext class.

Properties

SecureSqlStandardPassword

Gets or sets the password when using SQL Server Authentication.

SqlStandardLogin

Gets or sets the login used with SQL Server Authentication.

SqlStandardPassword

Gets or sets the password for the login required for SQL Server Authentication.

WindowsAuthentication

Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.

Methods

Update()

Updates schedule fields associated with the connection security context.

Applies to