你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectionInfo interface

Defines the connection properties of a server

Properties

password

Password credential.

type

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

userName

User name

Property Details

password

Password credential.

password?: string

Property Value

string

type

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

type: "MongoDbConnectionInfo" | "SqlConnectionInfo" | "MySqlConnectionInfo" | "OracleConnectionInfo" | "PostgreSqlConnectionInfo" | "MiSqlConnectionInfo"

Property Value

"MongoDbConnectionInfo" | "SqlConnectionInfo" | "MySqlConnectionInfo" | "OracleConnectionInfo" | "PostgreSqlConnectionInfo" | "MiSqlConnectionInfo"

userName

User name

userName?: string

Property Value

string