IDbConnectionExtension IDbConnectionExtension IDbConnectionExtension Interface

Definition

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

public interface class IDbConnectionExtension : IDisposable, Microsoft::ReportingServices::DataProcessing::IDbConnection
public interface IDbConnectionExtension : IDisposable, Microsoft.ReportingServices.DataProcessing.IDbConnection
Public Interface IDbConnectionExtension
Implements IDbConnection, IDisposable
Implements

Remarks

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 Implementing a Connection Class for a Data Processing Extension.

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.

Properties

Impersonate Impersonate 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 IntegratedSecurity IntegratedSecurity

Indicates whether the connection should use integrated security rather than supply a username and password.

Password Password Password

Sets the password to use when connecting to the database. Overrides any password specified in the connection string.

UserName UserName UserName

Gets or sets the username to use when connecting to the database. Overrides any username specified in the connection string.

Applies to