Share via


ServerConnection Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ServerConnection class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

Top

See Also

Reference

ServerConnection Class

Microsoft.SqlServer.Management.Common Namespace