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 | |
---|---|---|
ConnectionSecurityContext | Initializes a new instance of the ConnectionSecurityContext class. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) | |
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.