Share via


SqlConnectionInfo Class

Definition

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
SqlConnectionInfo
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.

Applies to