다음을 통해 공유


IDbConnectionExtension 인터페이스

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

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  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

IDbConnectionExtension 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 ConnectionString Gets or sets the string used to open a database. (IDbConnection에서 상속됨)
공용 속성 ConnectionTimeout Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error. (IDbConnection에서 상속됨)
공용 속성 Impersonate Sets the username of the user that is impersonated while queries are executed. This property is ignored by the report server if impersonation is not supported by the data provider.
공용 속성 IntegratedSecurity Indicates whether the connection should use integrated security rather than supply a username and password.
공용 속성 LocalizedName Gets the localized name of the extension to be displayed in a user interface. (IExtension에서 상속됨)
공용 속성 Password Gets or sets the password to use when connecting to the database. Overrides any password specified in the connection string.
공용 속성 UserName Gets or sets the username to use when connecting to the database. Overrides any username specified in the connection string.

맨 위로 이동

메서드

  이름 설명
공용 메서드 BeginTransaction Begins a database transaction. (IDbConnection에서 상속됨)
공용 메서드 Close Closes the connection to the database. (IDbConnection에서 상속됨)
공용 메서드 CreateCommand Creates and returns a Command object associated with the connection. (IDbConnection에서 상속됨)
공용 메서드 Dispose (IDisposable에서 상속됨)
공용 메서드 Open Initializes a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object. (IDbConnection에서 상속됨)
공용 메서드 SetConfiguration Used to pass custom configuration data to an extension. (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.

참고 항목

참조

Microsoft.ReportingServices.DataProcessing 네임스페이스