Compartir a través de


ExecuteReader Método (CommandBehavior)

Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdServer
Ensamblado:  msmgdsrv (en msmgdsrv.dll)

Sintaxis

'Declaración
Public Function ExecuteReader ( _
     As CommandBehavior _
) As AdomdDataReader
'Uso
Dim instance As AdomdCommand
Dim  As CommandBehavior
Dim returnValue As AdomdDataReader

returnValue = instance.ExecuteReader()
public AdomdDataReader ExecuteReader(
    CommandBehavior 
)
public:
virtual AdomdDataReader^ ExecuteReader(
    CommandBehavior 
) sealed
abstract ExecuteReader : 
        :CommandBehavior -> AdomdDataReader 
override ExecuteReader : 
        :CommandBehavior -> AdomdDataReader 
public final function ExecuteReader(
     : CommandBehavior
) : AdomdDataReader

Parámetros

Comentarios

The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data..::..CommandBehavior.