ConnectionSettings.ConnectionString 属性

定义

该属性将返回指定的用户连接字符串,或者它将基于对象设置返回计算连接字符串。 如果显式设置,则填充 ServerConnection 对象中的所有属性以反映传入连接字符串。 异常:ConnectionCannotBeChangedException InvalidPropertyValueException

[System.ComponentModel.Browsable(false)]
public string ConnectionString { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ConnectionString : string with get, set
Public Property ConnectionString As String

属性值

属性

适用于