SqlConnectionInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlConnectionInfo() | |
SqlConnectionInfo(SqlConnectionInfo) | |
SqlConnectionInfo(String) | |
SqlConnectionInfo(ServerConnection, ConnectionType) |
Initializes SqlConnectionInfo from ServerConnection object |
SqlConnectionInfo(String, String, String) |
SqlConnectionInfo()
public SqlConnectionInfo ();
Public Sub New ()
Applies to
SqlConnectionInfo(SqlConnectionInfo)
public SqlConnectionInfo (Microsoft.SqlServer.Management.Common.SqlConnectionInfo conn);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfo : Microsoft.SqlServer.Management.Common.SqlConnectionInfo -> Microsoft.SqlServer.Management.Common.SqlConnectionInfo
Public Sub New (conn As SqlConnectionInfo)
Parameters
- conn
- SqlConnectionInfo
Applies to
SqlConnectionInfo(String)
public SqlConnectionInfo (string serverName);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfo : string -> Microsoft.SqlServer.Management.Common.SqlConnectionInfo
Public Sub New (serverName As String)
Parameters
- serverName
- String
Applies to
SqlConnectionInfo(ServerConnection, ConnectionType)
Initializes SqlConnectionInfo from ServerConnection object
public SqlConnectionInfo (Microsoft.SqlServer.Management.Common.ServerConnection serverConnection, Microsoft.SqlServer.Management.Common.ConnectionType connectionType);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfo : Microsoft.SqlServer.Management.Common.ServerConnection * Microsoft.SqlServer.Management.Common.ConnectionType -> Microsoft.SqlServer.Management.Common.SqlConnectionInfo
Public Sub New (serverConnection As ServerConnection, connectionType As ConnectionType)
Parameters
- serverConnection
- ServerConnection
- connectionType
- ConnectionType
Applies to
SqlConnectionInfo(String, String, String)
public SqlConnectionInfo (string serverName, string userName, string password);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfo : string * string * string -> Microsoft.SqlServer.Management.Common.SqlConnectionInfo
Public Sub New (serverName As String, userName As String, password As String)
Parameters
- serverName
- String
- userName
- String
- password
- String