DataSourceDefinition.UseOriginalConnectString Property
Definition
获取或设置一个值,该值指定数据源是否应恢复为原始连接字符串。Gets or sets a value that specifies whether the data source should revert to the original connection string.
public:
property bool UseOriginalConnectString { bool get(); void set(bool value); };
public bool UseOriginalConnectString { get; set; }
member this.UseOriginalConnectString : bool with get, set
Public Property UseOriginalConnectString As Boolean
Property Value
如果数据源应恢复为原始连接字符串,则为 true
;否则为 false
。true
if the data source should revert to the original connection string; otherwise, false
. 默认值为 false
。The default is false
.
Remarks
如果 true
为,则 ConnectString 忽略属性的值。If true
, the value of the ConnectString property is ignored.