Freigeben über


ConnectionSecurityContext-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

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

Der ConnectionSecurityContext-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ConnectionSecurityContext Initializes a new instance of the ConnectionSecurityContext class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft SecureSqlStandardPassword
Öffentliche Eigenschaft SqlStandardLogin Gets or sets the login used with SQL Server Authentication.
Öffentliche Eigenschaft SqlStandardPassword Gets or sets the password for the login required for SQL Server Authentication.
Öffentliche Eigenschaft WindowsAuthentication Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode Update Updates schedule fields associated with the connection security context.

Zum Anfang

Hinweise

A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. Verwenden Sie nach Möglichkeit die Windows-Authentifizierung.

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.