SqlConnectionInfo Constructors

Definition

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

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

Applies to