Compartilhar via


Classe ConnectionSecurityContext

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

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

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.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.