Classe ConnectionSecurityContext
Represents information you use when you connect to Microsoft SQL Server.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Replication..::..ConnectionSecurityContext
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
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
O tipo ConnectionSecurityContext expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ConnectionSecurityContext | Initializes a new instance of the ConnectionSecurityContext class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
SecureSqlStandardPassword | ||
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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) | |
Update | Updates schedule fields associated with the connection security context. |
Início
Comentários
A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. Quando possível, use a Autenticação do Windows.
This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.