Méthode AdomdCommand.IDbCommand.ExecuteReader (CommandBehavior)
Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehaviour values.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Private Function ExecuteReader ( _
behavior As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Utilisation
Dim instance As AdomdCommand
Dim behavior As CommandBehavior
Dim returnValue As IDataReader
returnValue = CType(instance, IDbCommand).ExecuteReader(behavior)
IDataReader IDbCommand.ExecuteReader(
CommandBehavior behavior
)
private:
virtual IDataReader^ ExecuteReader(
CommandBehavior behavior
) sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader :
behavior:CommandBehavior -> IDataReader
private override ExecuteReader :
behavior:CommandBehavior -> IDataReader
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- behavior
Type : System.Data.CommandBehavior
One of the enumeration values of CommandBehaviour.
Valeur de retour
Type : System.Data.IDataReader
An IDataReader object.
Implémente
IDbCommand.ExecuteReader(CommandBehavior)