Partager via


Classe ConnectionSecurityContext

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans 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

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.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.