SqlConnectionInfo Class
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.
Information for connecting to SQL database server
[Newtonsoft.Json.JsonObject("SqlConnectionInfo")]
public class SqlConnectionInfo : Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo
[<Newtonsoft.Json.JsonObject("SqlConnectionInfo")>]
type SqlConnectionInfo = class
inherit ConnectionInfo
Public Class SqlConnectionInfo
Inherits ConnectionInfo
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
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. |
Properties
AdditionalSettings |
Gets or sets additional connection settings |
Authentication |
Gets or sets authentication type to use for connection Possible values include: 'None', 'WindowsAuthentication', 'SqlAuthentication', 'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword' |
DataSource |
Gets or sets data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber |
EncryptConnection |
Gets or sets whether to encrypt the connection |
Password |
Gets or sets password credential. (Inherited from ConnectionInfo) |
Platform |
Gets or sets server platform type for connection Possible values include: 'SqlOnPrem' |
TrustServerCertificate |
Gets or sets whether to trust the server certificate |
UserName |
Gets or sets user name (Inherited from ConnectionInfo) |
Methods
Validate() |
Validate the object. |