Condividi tramite


Classe ConnectionSecurityContext

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

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Replication.ConnectionSecurityContext

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ConnectionSecurityContext _
    Implements IConnectionSecurityContext
'Utilizzo
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

Nel tipo ConnectionSecurityContext sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ConnectionSecurityContext Initializes a new instance of the ConnectionSecurityContext class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica SecureSqlStandardPassword Gets or sets the password when using SQL Server Authentication.
Proprietà pubblica SqlStandardLogin Gets or sets the login used with SQL Server Authentication.
Proprietà pubblica SqlStandardPassword Gets or sets the password for the login required for SQL Server Authentication.
Proprietà pubblica WindowsAuthentication Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Update Updates schedule fields associated with the connection security context.

In alto

Osservazioni

A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. Se possibile, utilizzare l'autenticazione di Windows.

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Replication