Share via


Clase ConnectionSecurityContext

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

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Replication..::..ConnectionSecurityContext

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public NotInheritable Class ConnectionSecurityContext _
    Implements IConnectionSecurityContext
'Uso
Dim instance As ConnectionSecurityContext
public sealed class ConnectionSecurityContext : IConnectionSecurityContext
public ref class ConnectionSecurityContext sealed : IConnectionSecurityContext
[<SealedAttribute>]
type ConnectionSecurityContext =  
    class
        interface IConnectionSecurityContext
    end
public final class ConnectionSecurityContext implements IConnectionSecurityContext

El tipo ConnectionSecurityContext expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ConnectionSecurityContext Initializes a new instance of the ConnectionSecurityContext class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública SecureSqlStandardPassword
Propiedad pública SqlStandardLogin Gets or sets the login used with SQL Server Authentication.
Propiedad pública SqlStandardPassword Gets or sets the password for the login required for SQL Server Authentication.
Propiedad pública WindowsAuthentication Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)
Método público Update Updates schedule fields associated with the connection security context.

Arriba

Comentarios

A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. Siempre que sea posible, utilice la autenticación de Windows.

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.