Share via


SqlConnectionInfo interface

Information for connecting to SQL database server

Extends

Properties

additionalSettings

Additional connection settings

authentication

Authentication type to use for connection

dataSource

Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber

encryptConnection

Whether to encrypt the connection

platform

Server platform type for connection

port

Port for Server

resourceId

Represents the ID of an HTTP resource represented by an Azure resource provider.

serverBrandVersion

server brand version

serverName

name of the server

serverVersion

server version

trustServerCertificate

Whether to trust the server certificate

type

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

password

Password credential.

userName

User name

Property Details

additionalSettings

Additional connection settings

additionalSettings?: string

Property Value

string

authentication

Authentication type to use for connection

authentication?: string

Property Value

string

dataSource

Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber

dataSource: string

Property Value

string

encryptConnection

Whether to encrypt the connection

encryptConnection?: boolean

Property Value

boolean

platform

Server platform type for connection

platform?: string

Property Value

string

port

Port for Server

port?: number

Property Value

number

resourceId

Represents the ID of an HTTP resource represented by an Azure resource provider.

resourceId?: string

Property Value

string

serverBrandVersion

server brand version

serverBrandVersion?: string

Property Value

string

serverName

name of the server

serverName?: string

Property Value

string

serverVersion

server version

serverVersion?: string

Property Value

string

trustServerCertificate

Whether to trust the server certificate

trustServerCertificate?: boolean

Property Value

boolean

type

Polymorphic discriminator, which specifies the different types this object can be

type: "SqlConnectionInfo"

Property Value

"SqlConnectionInfo"

Inherited Property Details

password

Password credential.

password?: string

Property Value

string

Inherited From ConnectionInfo.password

userName

User name

userName?: string

Property Value

string

Inherited From ConnectionInfo.userName