共用方式為


IDbConnectionExtension 介面

Represents additional connection properties that can be implemented by SQL Server Reporting Services data processing extensions.

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

語法

'宣告
Public Interface IDbConnectionExtension _
    Inherits IDbConnection, IDisposable, IExtension
'用途
Dim instance As IDbConnectionExtension
public interface IDbConnectionExtension : IDbConnection, 
    IDisposable, IExtension
public interface class IDbConnectionExtension : IDbConnection, 
    IDisposable, IExtension
type IDbConnectionExtension =  
    interface
        interface IDbConnection
        interface IDisposable
        interface IExtension
    end
public interface IDbConnectionExtension extends IDbConnection, IDisposable, IExtension

備註

The IDbConnectionExtension interface enables you to implement an extension of the IDbConnection interface, which adds additional functionality for authenticating a connection to a data source. The IDbConnectionExtension interface can be used to build a custom data processing extension. For more information about Connection classes, see 為資料處理延伸模組實作 Connection 類別.

An application does not create an instance of the IDbConnectionExtension interface directly, but creates an instance of a class that implements IDbConnectionExtension.

Classes that implement IDbConnectionExtension must also implement all required members, and typically define additional members to add provider-specific functionality. Because IDbConnectionExtension inherits from IDbConnection, you must also implement all of the IDbConnection members as part of your Connection class including those members from IExtension.