共用方式為


DataSourceDefinition.UseOriginalConnectString 屬性

Gets or sets a value that specifies whether the data source should revert to the original connection string.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Property UseOriginalConnectString As Boolean 
    Get 
    Set
'用途
Dim instance As DataSourceDefinition 
Dim value As Boolean 

value = instance.UseOriginalConnectString

instance.UseOriginalConnectString = value
public bool UseOriginalConnectString { get; set; }
public:
property bool UseOriginalConnectString {
    bool get ();
    void set (bool value);
}
member UseOriginalConnectString : bool with get, set
function get UseOriginalConnectString () : boolean 
function set UseOriginalConnectString (value : boolean)

屬性值

型別:System.Boolean
true if the data source should revert to the original connection string; otherwise, false. The default is false.

備註

If true, the value of the ConnectString property is ignored.

請參閱

參考

DataSourceDefinition 類別

ReportService2006 命名空間