Share via


ServerConnection-Konstruktor

Initializes a new instance of the ServerConnection class.

Das Element ist überladen. Um vollständige Informationen zu diesem Element zu erhalten, einschließlich Syntax, Verwendung und Beispielen, klicken Sie auf einen Namen in der Überladungsliste.

Überladungsliste

  Name Beschreibung
Öffentliche Methode ServerConnection() () () () Initializes a new instance of the ServerConnection class.
Öffentliche Methode ServerConnection(SqlConnection) Initializes a new instance of the ServerConnection class with the specified connection parameters.
Öffentliche Methode ServerConnection(String) Initializes a new instance of the ServerConnection class with the specified server instance.
Öffentliche Methode ServerConnection(SqlConnectionInfo) Initializes a new instance of the ServerConnection class with the specified connection information.
Öffentliche Methode ServerConnection(String, String, SecureString) Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.
Öffentliche Methode ServerConnection(String, String, String) Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.

Zum Anfang