共用方式為


IQueryDesigner.Connection 屬性

Used by the Report Designer in Business Intelligence Development Studio to pass a database connection to the IQueryDesigner when it is initialized.

命名空間:  Microsoft.ReportingServices.Interfaces
組件:  Microsoft.ReportingServices.QueryDesigners (在 Microsoft.ReportingServices.QueryDesigners.dll 中)

語法

'宣告
WriteOnly Property Connection As IDbConnection 
    Set
'用途
Dim instance As IQueryDesigner 
Dim value As IDbConnection

instance.Connection = value
IDbConnection Connection { set; }
property IDbConnection^ Connection {
    void set (IDbConnection^ value);
}
abstract Connection : IDbConnection with get, set
function set Connection (value : IDbConnection)

屬性值

型別:Microsoft.ReportingServices.DataProcessing.IDbConnection
An IDbConnection object.

請參閱

參考

IQueryDesigner 介面

Microsoft.ReportingServices.Interfaces 命名空間