다음을 통해 공유


IDbConnection Interface

Represents an open connection to a data source, and is implemented by SQL Server Reporting Services data processing extensions that access relational databases.

네임스페이스: Microsoft.ReportingServices.DataProcessing
어셈블리: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

구문

‘선언
Public Interface IDbConnection
    Inherits IDisposable, IExtension
public interface IDbConnection : IDisposable, IExtension
public interface class IDbConnection : IDisposable, IExtension
public interface IDbConnection extends IDisposable, IExtension
public interface IDbConnection extends IDisposable, IExtension

주의

The IDbConnection interface enables you to implement a Connection class, which represents a unique session with a data source. The IDbConnection interface can be used to build a custom data provider. For more information about Connection classes, see Implementing a Connection Class for a Data Processing Extension.

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

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

When you implement from the IDbConnection interface, you should also implement the following constructors:

Class

Description

PrvConnection()

Initializes a new instance of the PrvConnection class.

PrvConnection(string connectionString)

Initializes a new instance of the PrvConnection class when given a string containing the connection string.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDbConnection Members
Microsoft.ReportingServices.DataProcessing Namespace