Partager via


IDbCommand Interface

Represents a statement that is executed while an open connection to a data source exists.

Espace de noms: Microsoft.ReportingServices.DataProcessing
Assembly: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

Syntaxe

'Déclaration
Public Interface IDbCommand
    Inherits IDisposable
public interface IDbCommand : IDisposable
public interface class IDbCommand : IDisposable
public interface IDbCommand extends IDisposable
public interface IDbCommand extends IDisposable

Notes

The IDbCommand interface enables you to implement a Command class, which represents a statement that is executed at a data source. For more information about Command classes, see Implementing a Command Class for a Data Processing Extension.

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

Classes that implement IDbCommand must also implement all required members, and typically define additional members to add provider-specific functionality.

When you implement from the IDbCommand interface, you should implement the following constructors:

Item

Description

PrvCommand()

Initializes a new instance of the PrvCommand class.

PrvCommand(string cmdText)

Initializes a new instance of the PrvCommand class with the text of the query.

PrvCommand(string cmdText, PrvTransaction transaction)

Initializes a new instance of the PrvCommand class with the text of the query, a PrvConnection, and the PrvTransaction.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDbCommand Members
Microsoft.ReportingServices.DataProcessing Namespace