Condividi tramite


Metodo AdomdCommand.IDbCommand.ExecuteReader (CommandBehavior)

Executes the CommandText against the Connection and builds an IDataReader using one of the CommandBehavior values.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Private Function ExecuteReader ( _
    b As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Utilizzo
Dim instance As AdomdCommand 
Dim b As CommandBehavior 
Dim returnValue As IDataReader 

returnValue = CType(instance, IDbCommand).ExecuteReader(b)
IDataReader IDbCommand.ExecuteReader(
    CommandBehavior b
)
private:
virtual IDataReader^ ExecuteReader(
    CommandBehavior b
) sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader : 
        b:CommandBehavior -> IDataReader  
private override ExecuteReader : 
        b:CommandBehavior -> IDataReader
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

Tipo: System.Data.IDataReader
An IDataReader object.

Implementa

IDbCommand.ExecuteReader(CommandBehavior)

Vedere anche

Riferimento

AdomdCommand Classe

Overload ExecuteReader

Spazio dei nomi Microsoft.AnalysisServices.AdomdServer