共用方式為


IDbConnectionExtension 成員

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

IDbConnectionExtension 型別公開下列成員。

方法

  名稱 描述
公用方法 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。)

頂端

屬性

  名稱 描述
公用屬性 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.

頂端