Compartir a través de


ExecuteReader Método (CommandBehavior)

Runs the AdomdCommand using the specified System.Data..::..CommandBehaviorenumeration value and returns an AdomdDataReader.

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

Sintaxis

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

returnValue = instance.ExecuteReader(behavior)
public AdomdDataReader ExecuteReader(
    CommandBehavior behavior
)
public:
AdomdDataReader^ ExecuteReader(
    CommandBehavior behavior
)
member ExecuteReader : 
        behavior:CommandBehavior -> AdomdDataReader 
public function ExecuteReader(
    behavior : CommandBehavior
) : AdomdDataReader

Parámetros

Notas

The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.