共用方式為


IDbConnectionWrapper.Connection 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets a connection to a data source.

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

語法

'宣告
ReadOnly Property Connection As IDbConnection 
    Get
'用途
Dim instance As IDbConnectionWrapper 
Dim value As IDbConnection 

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

屬性值

型別:System.Data.IDbConnection
An IDbConnection object that represents a connection to a data source.

請參閱

參考

IDbConnectionWrapper 介面

Microsoft.ReportingServices.DataProcessing 命名空間