你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ConnStringInfo 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ConnStringInfo() |
初始化 ConnStringInfo 类的新实例。 |
ConnStringInfo(String, String, Nullable<ConnectionStringType>) |
初始化 ConnStringInfo 类的新实例。 |
ConnStringInfo()
初始化 ConnStringInfo 类的新实例。
public ConnStringInfo ();
Public Sub New ()
适用于
ConnStringInfo(String, String, Nullable<ConnectionStringType>)
初始化 ConnStringInfo 类的新实例。
public ConnStringInfo (string name = default, string connectionString = default, Microsoft.Azure.Management.WebSites.Models.ConnectionStringType? type = default);
new Microsoft.Azure.Management.WebSites.Models.ConnStringInfo : string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.ConnectionStringType> -> Microsoft.Azure.Management.WebSites.Models.ConnStringInfo
Public Sub New (Optional name As String = Nothing, Optional connectionString As String = Nothing, Optional type As Nullable(Of ConnectionStringType) = Nothing)
参数
- name
- String
连接字符串的名称。
- connectionString
- String
连接字符串值。
- type
- Nullable<ConnectionStringType>
数据库的类型。 可能的值包括:“MySql”、“SQLServer”、“SQLAzure”、“Custom”、“NotificationHub”、“ServiceBus”、“EventHub”、“ApiHub”、“DocDb”、“RedisCache”、“PostgreSQL”