共用方式為


IDbConnection.Open 方法

Initializes a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.

命名空間:  Microsoft.ReportingServices.DataProcessing
組件:   Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Sub Open
'用途
Dim instance As IDbConnection

instance.Open()
void Open()
void Open()
abstract Open : unit -> unit
function Open()

備註

It is in this method that impersonation takes place. When the report server calls the Open method, it passes the user name and password of the report or shared data source to the extension.

請參閱

參考

IDbConnection 介面

Microsoft.ReportingServices.DataProcessing 命名空間