Classe ConnectionSecurityContext
Represents information you use when you connect to Microsoft SQL Server.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Replication.ConnectionSecurityContext
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class ConnectionSecurityContext _
Implements IConnectionSecurityContext
'Utilisation
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
Le type ConnectionSecurityContext expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
ConnectionSecurityContext | Initializes a new instance of the ConnectionSecurityContext class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
ToString | (hérité de Object.) | |
Update | Updates schedule fields associated with the connection security context. |
Haut de la page
Notes
A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. Lorsque c'est possible, utilisez l'authentification Windows.
This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.