Поделиться через


ServerConnection Constructor

Initializes a new instance of the ServerConnection class.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Список перегрузок

Имя Description
ServerConnection ()
Initializes a new instance of the ServerConnection class.
ServerConnection (SqlConnection)
Initializes a new instance of the ServerConnection class with the specified connection parameters.
ServerConnection (SqlConnectionInfo)
Initializes a new instance of the ServerConnection class with the specified connection information.
ServerConnection (String)
Initializes a new instance of the ServerConnection class with the specified server instance.
ServerConnection (String, String, SecureString)
Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.
ServerConnection (String, String, String)
Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.

См. также

Справочник

ServerConnection Class
ServerConnection Members
Microsoft.SqlServer.Management.Common Namespace

Другие ресурсы

How to: Connect to the Local Instance of SQL Server by Using Windows Authentication in Visual Basic .NET
Connecting to an Instance of SQL Server