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() |
Initializes a new instance of the SqlConnectionInfo class. |
SqlConnectionInfo(String, String, String, String, Nullable<Boolean>, String, Nullable<Boolean>, String) |
Initializes a new instance of the SqlConnectionInfo class. |
SqlConnectionInfo()
Initializes a new instance of the SqlConnectionInfo class.
public SqlConnectionInfo ();
Public Sub New ()
Applies to
SqlConnectionInfo(String, String, String, String, Nullable<Boolean>, String, Nullable<Boolean>, String)
Initializes a new instance of the SqlConnectionInfo class.
public SqlConnectionInfo (string dataSource, string userName = default, string password = default, string authentication = default, bool? encryptConnection = default, string additionalSettings = default, bool? trustServerCertificate = default, string platform = default);
new Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo : string * string * string * string * Nullable<bool> * string * Nullable<bool> * string -> Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo
Public Sub New (dataSource As String, Optional userName As String = Nothing, Optional password As String = Nothing, Optional authentication As String = Nothing, Optional encryptConnection As Nullable(Of Boolean) = Nothing, Optional additionalSettings As String = Nothing, Optional trustServerCertificate As Nullable(Of Boolean) = Nothing, Optional platform As String = Nothing)
Parameters
- dataSource
- String
Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- userName
- String
User name
- password
- String
Password credential.
- authentication
- String
Authentication type to use for connection Possible values include: 'None', 'WindowsAuthentication', 'SqlAuthentication', 'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword'
- additionalSettings
- String
Additional connection settings
- platform
- String
Server platform type for connection Possible values include: 'SqlOnPrem'